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()