fixed bug related to the position of the bar
... when it is not visible at start
This commit is contained in:
parent
bbe09b01b3
commit
3b5b1d850a
1 changed files with 6 additions and 6 deletions
|
@ -186,15 +186,15 @@ Monitor_getWorkArea(m) {
|
||||||
}
|
}
|
||||||
bHeight := Round(Bar_height / Config_scalingFactor)
|
bHeight := Round(Bar_height / Config_scalingFactor)
|
||||||
bTop := 0
|
bTop := 0
|
||||||
If Monitor_#%m%_showBar {
|
|
||||||
If (Config_verticalBarPos = "top") Or (Config_verticalBarPos = "tray") And Not Monitor_#%m%_taskBarClass {
|
If (Config_verticalBarPos = "top") Or (Config_verticalBarPos = "tray") And Not Monitor_#%m%_taskBarClass {
|
||||||
bTop := monitorTop
|
bTop := monitorTop
|
||||||
|
If Monitor_#%m%_showBar
|
||||||
monitorTop += bHeight
|
monitorTop += bHeight
|
||||||
} Else If (Config_verticalBarPos = "bottom") {
|
} Else If (Config_verticalBarPos = "bottom") {
|
||||||
bTop := monitorBottom - bHeight
|
bTop := monitorBottom - bHeight
|
||||||
|
If Monitor_#%m%_showBar
|
||||||
monitorBottom -= bHeight
|
monitorBottom -= bHeight
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
Monitor_#%m%_height := monitorBottom - monitorTop
|
Monitor_#%m%_height := monitorBottom - monitorTop
|
||||||
Monitor_#%m%_width := monitorRight - monitorLeft
|
Monitor_#%m%_width := monitorRight - monitorLeft
|
||||||
|
|
Loading…
Reference in a new issue