mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Fix tooltip when no advanced editing.
This commit is contained in:
parent
1c60a61f79
commit
d1f0f4490c
1 changed files with 16 additions and 13 deletions
|
|
@ -56,21 +56,24 @@ public partial class ConfigWindow
|
||||||
DrawChangedItemsTab();
|
DrawChangedItemsTab();
|
||||||
DrawConflictsTab();
|
DrawConflictsTab();
|
||||||
DrawEditModTab();
|
DrawEditModTab();
|
||||||
if( Penumbra.Config.ShowAdvanced && ImGui.TabItemButton( "Advanced Editing", ImGuiTabItemFlags.Trailing | ImGuiTabItemFlags.NoTooltip ) )
|
if( Penumbra.Config.ShowAdvanced )
|
||||||
{
|
{
|
||||||
_window.ModEditPopup.ChangeMod( _mod );
|
if( ImGui.TabItemButton( "Advanced Editing", ImGuiTabItemFlags.Trailing | ImGuiTabItemFlags.NoTooltip ) )
|
||||||
_window.ModEditPopup.ChangeOption( -1, 0 );
|
{
|
||||||
_window.ModEditPopup.IsOpen = true;
|
_window.ModEditPopup.ChangeMod( _mod );
|
||||||
}
|
_window.ModEditPopup.ChangeOption( -1, 0 );
|
||||||
|
_window.ModEditPopup.IsOpen = true;
|
||||||
|
}
|
||||||
|
|
||||||
ImGuiUtil.HoverTooltip(
|
ImGuiUtil.HoverTooltip(
|
||||||
"Clicking this will open a new window in which you can\nedit the following things per option for this mod:\n\n"
|
"Clicking this will open a new window in which you can\nedit the following things per option for this mod:\n\n"
|
||||||
+ "\t\t- file redirections\n"
|
+ "\t\t- file redirections\n"
|
||||||
+ "\t\t- file swaps\n"
|
+ "\t\t- file swaps\n"
|
||||||
+ "\t\t- metadata manipulations\n"
|
+ "\t\t- metadata manipulations\n"
|
||||||
+ "\t\t- model materials\n"
|
+ "\t\t- model materials\n"
|
||||||
+ "\t\t- duplicates\n"
|
+ "\t\t- duplicates\n"
|
||||||
+ "\t\t- textures" );
|
+ "\t\t- textures" );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Just a simple text box with the wrapped description, if it exists.
|
// Just a simple text box with the wrapped description, if it exists.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue