fix classic theme fixes not working on bar height

This commit is contained in:
Cynthia Foxwell 2023-03-01 22:06:32 -07:00
parent 60a13162db
commit 421e289d96

View file

@ -172,8 +172,9 @@ Bar_init(m) {
ControlGet, ToolbarRoot, Hwnd, , ReBarWindow321, ahk_id %trayWndId%
ControlGet, Toolbar, Hwnd, , ToolbarWindow321, ahk_id %ToolbarRoot%
DllCall("SetParent", "UInt", wndId, "UInt", Toolbar)
If (Config_barTaskbarBlend)
If (Config_barTaskbarBlend) {
Gui, Color, 000000, %wndTitle%
}
If (Config_classicThemeFixes) {
WinSet, Style, -0x40000, ahk_id %trayWndId% ; WS_THICKFRAME
@ -277,7 +278,7 @@ Return
Bar_getHeight()
{
Global Bar_#0_#1, Bar_#0_#1H, Bar_#0_#2, Bar_#0_#2H, Bar_ctrlHeight, Bar_height, Bar_textHeight
Global Config_fontName, Config_fontSize, Config_singleRowBar, Config_spaciousBar, Config_verticalBarPos
Global Config_fontName, Config_fontSize, Config_singleRowBar, Config_spaciousBar, Config_verticalBarPos, Config_classicThemeFixes
wndTitle := "bug.n_BAR_0"
Gui, 99: Default