From 9f1fea0d2f58c32c40e8b15a15f51617ed7f9d40 Mon Sep 17 00:00:00 2001 From: Anna Date: Sun, 12 Jun 2022 10:35:59 -0400 Subject: [PATCH] fix: only apply alpha when not docked --- ChatTwo/Ui/ChatLog.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChatTwo/Ui/ChatLog.cs b/ChatTwo/Ui/ChatLog.cs index 6c3a56f..a3a4e00 100755 --- a/ChatTwo/Ui/ChatLog.cs +++ b/ChatTwo/Ui/ChatLog.cs @@ -404,7 +404,7 @@ internal sealed class ChatLog : IUiComponent { flags |= ImGuiWindowFlags.NoTitleBar; } - if (this._lastViewport == ImGuiHelpers.MainViewport.NativePtr) { + if (this._lastViewport == ImGuiHelpers.MainViewport.NativePtr && !ImGui.IsWindowDocked()) { ImGui.SetNextWindowBgAlpha(this.Ui.Plugin.Config.WindowAlpha / 100f); }