mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-13 12:14:17 +01:00
Disallow docking for the penumbra main window.
This commit is contained in:
parent
48a443921e
commit
78b931ec44
2 changed files with 6 additions and 4 deletions
|
|
@ -183,6 +183,7 @@ public sealed partial class ModFileSystemSelector : FileSystemSelector< Mod, Mod
|
||||||
: Penumbra.Config.DefaultModImportPath.Length > 0 ? Penumbra.Config.DefaultModImportPath
|
: Penumbra.Config.DefaultModImportPath.Length > 0 ? Penumbra.Config.DefaultModImportPath
|
||||||
: Penumbra.Config.ModDirectory.Length > 0 ? Penumbra.Config.ModDirectory : null;
|
: Penumbra.Config.ModDirectory.Length > 0 ? Penumbra.Config.ModDirectory : null;
|
||||||
_hasSetFolder = true;
|
_hasSetFolder = true;
|
||||||
|
|
||||||
_fileManager.OpenFileDialog( "Import Mod Pack", "TexTools Mod Packs{.ttmp,.ttmp2}", ( s, f ) =>
|
_fileManager.OpenFileDialog( "Import Mod Pack", "TexTools Mod Packs{.ttmp,.ttmp2}", ( s, f ) =>
|
||||||
{
|
{
|
||||||
if( s )
|
if( s )
|
||||||
|
|
|
||||||
|
|
@ -35,11 +35,12 @@ public sealed partial class ConfigWindow : Window, IDisposable
|
||||||
_effectiveTab = new EffectiveTab();
|
_effectiveTab = new EffectiveTab();
|
||||||
_debugTab = new DebugTab( this );
|
_debugTab = new DebugTab( this );
|
||||||
_resourceTab = new ResourceTab( this );
|
_resourceTab = new ResourceTab( this );
|
||||||
|
Flags |= ImGuiWindowFlags.NoDocking;
|
||||||
|
|
||||||
Dalamud.PluginInterface.UiBuilder.DisableGposeUiHide = !Penumbra.Config.HideUiInGPose;
|
Dalamud.PluginInterface.UiBuilder.DisableGposeUiHide = !Penumbra.Config.HideUiInGPose;
|
||||||
Dalamud.PluginInterface.UiBuilder.DisableCutsceneUiHide = !Penumbra.Config.HideUiInCutscenes;
|
Dalamud.PluginInterface.UiBuilder.DisableCutsceneUiHide = !Penumbra.Config.HideUiInCutscenes;
|
||||||
Dalamud.PluginInterface.UiBuilder.DisableUserUiHide = !Penumbra.Config.HideUiWhenUiHidden;
|
Dalamud.PluginInterface.UiBuilder.DisableUserUiHide = !Penumbra.Config.HideUiWhenUiHidden;
|
||||||
RespectCloseHotkey = true;
|
RespectCloseHotkey = true;
|
||||||
SizeConstraints = new WindowSizeConstraints()
|
SizeConstraints = new WindowSizeConstraints()
|
||||||
{
|
{
|
||||||
MinimumSize = new Vector2( 800, 600 ),
|
MinimumSize = new Vector2( 800, 600 ),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue