overview: Reduce space between window picker and dash
Do this in a hacky way by hardcoding this, for now. When we land search rework, we can fix this. https://bugzilla.gnome.org/show_bug.cgi?id=582650
This commit is contained in:
@@ -23,8 +23,8 @@ const WorkspaceThumbnail = imports.ui.workspaceThumbnail;
|
|||||||
// Time for initial animation going into Overview mode
|
// Time for initial animation going into Overview mode
|
||||||
const ANIMATION_TIME = 0.25;
|
const ANIMATION_TIME = 0.25;
|
||||||
|
|
||||||
// We split the screen vertically between the dash and the view selector.
|
// XXX -- grab this automatically. Hard to do.
|
||||||
const DASH_SPLIT_FRACTION = 0.1;
|
const DASH_MAX_WIDTH = 96;
|
||||||
|
|
||||||
const DND_WINDOW_SWITCH_TIMEOUT = 1250;
|
const DND_WINDOW_SWITCH_TIMEOUT = 1250;
|
||||||
|
|
||||||
@@ -502,7 +502,7 @@ const Overview = new Lang.Class({
|
|||||||
let searchX = (primary.width - searchWidth) / 2;
|
let searchX = (primary.width - searchWidth) / 2;
|
||||||
let searchY = contentY + this._spacing;
|
let searchY = contentY + this._spacing;
|
||||||
|
|
||||||
let dashWidth = Math.round(DASH_SPLIT_FRACTION * primary.width);
|
let dashWidth = DASH_MAX_WIDTH;
|
||||||
let dashY = searchY + searchHeight + this._spacing;
|
let dashY = searchY + searchHeight + this._spacing;
|
||||||
let dashX;
|
let dashX;
|
||||||
if (rtl) {
|
if (rtl) {
|
||||||
|
Reference in New Issue
Block a user