fixed bug for the case 'vertical position of Bar_cmdGui and
Config_verticalBarPos=tray and task bar at top of monitor'
This commit is contained in:
parent
65faa0b790
commit
39ccce432d
2 changed files with 3 additions and 1 deletions
|
@ -349,7 +349,7 @@ Bar_toggleCommandGui() {
|
||||||
} Else {
|
} Else {
|
||||||
Bar_cmdGuiIsVisible := True
|
Bar_cmdGuiIsVisible := True
|
||||||
x := Monitor_#%Manager_aMonitor%_barX + Monitor_#%Manager_aMonitor%_barWidth - Bar_#0_#0W
|
x := Monitor_#%Manager_aMonitor%_barX + Monitor_#%Manager_aMonitor%_barWidth - Bar_#0_#0W
|
||||||
If (Config_verticalBarPos = "top") Or (Config_verticalBarPos = "tray" And Not Manager_aMonitor = Manager_taskBarMonitor)
|
If (Config_verticalBarPos = "top") Or (Config_verticalBarPos = "tray" And (Manager_taskBarPos = "top" Or Not Manager_aMonitor = Manager_taskBarMonitor))
|
||||||
y := Monitor_#%Manager_aMonitor%_y
|
y := Monitor_#%Manager_aMonitor%_y
|
||||||
Else
|
Else
|
||||||
y := Monitor_#%Manager_aMonitor%_y + Monitor_#%Manager_aMonitor%_height - Bar_#0_#0H
|
y := Monitor_#%Manager_aMonitor%_y + Monitor_#%Manager_aMonitor%_height - Bar_#0_#0H
|
||||||
|
|
|
@ -145,6 +145,8 @@ Monitor_getWorkArea(m) {
|
||||||
If (wndY <= monitorTop) { ; Top
|
If (wndY <= monitorTop) { ; Top
|
||||||
wndHeight += wndY - monitorTop
|
wndHeight += wndY - monitorTop
|
||||||
monitorTop += wndHeight
|
monitorTop += wndHeight
|
||||||
|
If (A_LoopField = "Shell_TrayWnd")
|
||||||
|
Manager_taskBarPos := "top"
|
||||||
} Else { ; Bottom
|
} Else { ; Bottom
|
||||||
wndHeight := monitorBottom - wndY
|
wndHeight := monitorBottom - wndY
|
||||||
monitorBottom -= wndHeight
|
monitorBottom -= wndHeight
|
||||||
|
|
Loading…
Reference in a new issue