From b69a5e382c78f12e7599a4f05282883a8134966c Mon Sep 17 00:00:00 2001 From: Nikola <122501303+nperovic@users.noreply.github.com> Date: Tue, 14 May 2024 22:30:02 +0800 Subject: [PATCH] Update ColorButton.ahk Fixd a syntax error. --- ColorButton.ahk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ColorButton.ahk b/ColorButton.ahk index 9407efb..0115650 100644 --- a/ColorButton.ahk +++ b/ColorButton.ahk @@ -166,7 +166,7 @@ class _BtnColor extends Gui.Button if btnBkColr myBtn.Gui.OnEvent("Close", (*) => DeleteObject(hbrush)) - myBtn.Opt(BTN_STYLE (IsSet(colorBehindBtn) ? "Background" colorBehindBtn : "")) ; + myBtn.Opt(BTN_STYLE (IsSet(colorBehindBtn) ? " Background" colorBehindBtn : "")) ; myBtn.OnNotify(NM_CUSTOMDRAW, (gCtrl, lParam) => ON_NM_CUSTOMDRAW(gCtrl, lParam)) SetWindowTheme(myBtn.hwnd, isDark ? "DarkMode_Explorer" : "Explorer") myBtn.Redraw()