Some style fixes.

This commit is contained in:
Ottermandias 2021-09-16 17:24:23 +02:00
parent d7214cd851
commit d59869dbfe
6 changed files with 16 additions and 14 deletions

View file

@ -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()

View file

@ -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." );
} }
} }

View file

@ -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 );
} }
} }
} }