mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Reverse draw coords for vertical panel barriers
This commit is contained in:
@@ -720,12 +720,12 @@ function newUpdatePanelBarrier(panel) {
|
||||
fixed2 = panel.monitor.y + panel.monitor.height;
|
||||
break;
|
||||
case St.Side.LEFT:
|
||||
fixed1 = panel.monitor.x;
|
||||
fixed2 = panel.monitor.x + barrierSize;
|
||||
fixed1 = panel.monitor.x + barrierSize;
|
||||
fixed2 = panel.monitor.x;
|
||||
break;
|
||||
case St.Side.RIGHT:
|
||||
fixed1 = panel.monitor.x + panel.monitor.width;
|
||||
fixed2 = panel.monitor.x + panel.monitor.width - barrierSize;
|
||||
fixed1 = panel.monitor.x + panel.monitor.width - barrierSize;
|
||||
fixed2 = panel.monitor.x + panel.monitor.width;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user