From 4369a9ae7943401ced781305a9599e3f85dbdf00 Mon Sep 17 00:00:00 2001 From: Infi Date: Sat, 6 Apr 2024 23:56:42 +0200 Subject: [PATCH] Correct conditionals --- ChatTwo/Ui/ChatLogWindow.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ChatTwo/Ui/ChatLogWindow.cs b/ChatTwo/Ui/ChatLogWindow.cs index 7bdc7ae..97f63be 100644 --- a/ChatTwo/Ui/ChatLogWindow.cs +++ b/ChatTwo/Ui/ChatLogWindow.cs @@ -416,10 +416,10 @@ public sealed class ChatLogWindow : Window, IUiComponent { IsOpen = true; Flags = ImGuiWindowFlags.NoScrollbar | ImGuiWindowFlags.NoScrollWithMouse; - if (Plugin.Config.CanMove) + if (!Plugin.Config.CanMove) Flags |= ImGuiWindowFlags.NoMove; - if (Plugin.Config.CanResize) + if (!Plugin.Config.CanResize) Flags |= ImGuiWindowFlags.NoResize; if (!Plugin.Config.ShowTitleBar)