mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Make renaming search paths in context more clear.
This commit is contained in:
parent
6ca8ad2385
commit
929db5c1a4
3 changed files with 10 additions and 2 deletions
2
OtterGui
2
OtterGui
|
|
@ -1 +1 @@
|
||||||
Subproject commit 05f7fba04156e81c099c87348632ecb03c877730
|
Subproject commit 4511703462faa6d3126a52e29b1c509bd275599c
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit ef403be979bfac5ef805030ce76066151d36f112
|
Subproject commit d400686c8bfb0b9f72fa0c3301d1fe1df9be525b
|
||||||
|
|
@ -65,6 +65,8 @@ public sealed class ModFileSystemSelector : FileSystemSelector<Mod, ModFileSyste
|
||||||
SubscribeRightClickMain(() => ClearQuickMove(0, _config.QuickMoveFolder1, () => {_config.QuickMoveFolder1 = string.Empty; _config.Save();}), 110);
|
SubscribeRightClickMain(() => ClearQuickMove(0, _config.QuickMoveFolder1, () => {_config.QuickMoveFolder1 = string.Empty; _config.Save();}), 110);
|
||||||
SubscribeRightClickMain(() => ClearQuickMove(1, _config.QuickMoveFolder2, () => {_config.QuickMoveFolder2 = string.Empty; _config.Save();}), 120);
|
SubscribeRightClickMain(() => ClearQuickMove(1, _config.QuickMoveFolder2, () => {_config.QuickMoveFolder2 = string.Empty; _config.Save();}), 120);
|
||||||
SubscribeRightClickMain(() => ClearQuickMove(2, _config.QuickMoveFolder3, () => {_config.QuickMoveFolder3 = string.Empty; _config.Save();}), 130);
|
SubscribeRightClickMain(() => ClearQuickMove(2, _config.QuickMoveFolder3, () => {_config.QuickMoveFolder3 = string.Empty; _config.Save();}), 130);
|
||||||
|
UnsubscribeRightClickLeaf(RenameLeaf);
|
||||||
|
SubscribeRightClickLeaf(RenameLeafMod, 1000);
|
||||||
AddButton(AddNewModButton, 0);
|
AddButton(AddNewModButton, 0);
|
||||||
AddButton(AddImportModButton, 1);
|
AddButton(AddImportModButton, 1);
|
||||||
AddButton(AddHelpButton, 2);
|
AddButton(AddHelpButton, 2);
|
||||||
|
|
@ -268,6 +270,12 @@ public sealed class ModFileSystemSelector : FileSystemSelector<Mod, ModFileSyste
|
||||||
_modImportManager.AddUnpack(f);
|
_modImportManager.AddUnpack(f);
|
||||||
}, 0, modPath, _config.AlwaysOpenDefaultImport);
|
}, 0, modPath, _config.AlwaysOpenDefaultImport);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void RenameLeafMod(ModFileSystem.Leaf leaf)
|
||||||
|
{
|
||||||
|
ImGui.Separator();
|
||||||
|
RenameLeaf(leaf);
|
||||||
|
}
|
||||||
|
|
||||||
private void DeleteModButton(Vector2 size)
|
private void DeleteModButton(Vector2 size)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue