mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
Some style fixes.
This commit is contained in:
parent
d7214cd851
commit
d59869dbfe
6 changed files with 16 additions and 14 deletions
|
|
@ -100,10 +100,11 @@ namespace Penumbra.UI
|
||||||
{
|
{
|
||||||
var changes = ModFunctions.CleanUpCollection( _manager.Collections.CurrentCollection.Settings,
|
var changes = ModFunctions.CleanUpCollection( _manager.Collections.CurrentCollection.Settings,
|
||||||
_manager.BasePath.EnumerateDirectories() );
|
_manager.BasePath.EnumerateDirectories() );
|
||||||
_manager.Collections.CurrentCollection.UpdateSettings( forceSave: changes );
|
_manager.Collections.CurrentCollection.UpdateSettings( changes );
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGuiCustom.HoverTooltip( "Remove all stored settings for mods not currently available and fix invalid settings.\nUse at own risk." );
|
ImGuiCustom.HoverTooltip(
|
||||||
|
"Remove all stored settings for mods not currently available and fix invalid settings.\nUse at own risk." );
|
||||||
}
|
}
|
||||||
|
|
||||||
private void DrawNewCollectionInput()
|
private void DrawNewCollectionInput()
|
||||||
|
|
|
||||||
|
|
@ -366,6 +366,7 @@ namespace Penumbra.UI
|
||||||
{
|
{
|
||||||
ImGui.SetClipboardText( file.FullName );
|
ImGui.SetClipboardText( file.FullName );
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGuiCustom.HoverTooltip( "Click to copy to clipboard." );
|
ImGuiCustom.HoverTooltip( "Click to copy to clipboard." );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ namespace Penumbra.Util
|
||||||
public static void PrintDebugAddress( string name, IntPtr address )
|
public static void PrintDebugAddress( string name, IntPtr address )
|
||||||
{
|
{
|
||||||
var module = Dalamud.SigScanner.Module.BaseAddress.ToInt64();
|
var module = Dalamud.SigScanner.Module.BaseAddress.ToInt64();
|
||||||
PluginLog.Debug( "{Name} found at 0x{Address:X16}, +0x{Offset}", name, address.ToInt64(), address.ToInt64() - module );
|
PluginLog.Debug( "{Name} found at 0x{Address:X16}, +0x{Offset:X}", name, address.ToInt64(), address.ToInt64() - module );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue