fix workspaces padding a little. (it's still not quite right)
svn path=/trunk/; revision=160
This commit is contained in:
parent
9949d75fcc
commit
90bce45ec6
@ -524,7 +524,8 @@ Workspaces.prototype = {
|
|||||||
let screenWidth = global.screen_width;
|
let screenWidth = global.screen_width;
|
||||||
let screenHeight = global.screen_height;
|
let screenHeight = global.screen_height;
|
||||||
|
|
||||||
this._width = screenWidth * Overlay.WORKSPACE_GRID_SCALE;
|
this._width = screenWidth * Overlay.WORKSPACE_GRID_SCALE -
|
||||||
|
2 * Overlay.WORKSPACE_GRID_PADDING;
|
||||||
this._height = screenHeight * Overlay.WORKSPACE_GRID_SCALE;
|
this._height = screenHeight * Overlay.WORKSPACE_GRID_SCALE;
|
||||||
this._x = screenWidth - this._width - Overlay.WORKSPACE_GRID_PADDING;
|
this._x = screenWidth - this._width - Overlay.WORKSPACE_GRID_PADDING;
|
||||||
this._y = Panel.PANEL_HEIGHT + (screenHeight - this._height - Panel.PANEL_HEIGHT) / 2;
|
this._y = Panel.PANEL_HEIGHT + (screenHeight - this._height - Panel.PANEL_HEIGHT) / 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user