Fix popout not being hidden

This commit is contained in:
Infi
2024-04-17 22:25:06 +02:00
parent 7d1ab8b98e
commit 91a8dd942d
4 changed files with 27 additions and 9 deletions
+10
View File
@@ -24,6 +24,16 @@ internal class Popout : Window
DisableWindowSounds = true;
}
public override void PreOpenCheck()
{
if (ChatLogWindow.IsHidden)
{
IsOpen = false;
return;
}
IsOpen = true;
}
public override void PreDraw()
{
if (ChatLogWindow.Plugin.Config is { OverrideStyle: true, ChosenStyle: not null })