mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-14 20:54:16 +01:00
Add option to fix the penumbra window.
This commit is contained in:
parent
caf19f24cb
commit
c97b8e8e9a
4 changed files with 23 additions and 5 deletions
|
|
@ -37,6 +37,14 @@ public partial class ConfigWindow
|
|||
|
||||
DrawEnabledBox();
|
||||
DrawShowAdvancedBox();
|
||||
Checkbox( "Fix Main Window", "Prevent the main window from being resized or moved.", Penumbra.Config.FixMainWindow, v =>
|
||||
{
|
||||
Penumbra.Config.FixMainWindow = v;
|
||||
_window.Flags = v
|
||||
? _window.Flags | ImGuiWindowFlags.NoMove | ImGuiWindowFlags.NoResize
|
||||
: _window.Flags & ~( ImGuiWindowFlags.NoMove | ImGuiWindowFlags.NoResize );
|
||||
} );
|
||||
|
||||
ImGui.NewLine();
|
||||
DrawRootFolder();
|
||||
DrawRediscoverButton();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue