Skip to content

Commit

Permalink
Update ColorButton.ahk
Browse files Browse the repository at this point in the history
Fixd a syntax error.
  • Loading branch information
nperovic authored May 14, 2024
1 parent 355b441 commit b69a5e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ColorButton.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b69a5e3

Please sign in to comment.