Updating 46/vertical-workspaces to version 46.2+20240828 [5b87af5].
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
6c3def31e8
commit
f2db668ec8
27 changed files with 6003 additions and 4248 deletions
|
@ -32,6 +32,8 @@ const WINDOW_ACTIVE_SIZE_INC = 5;
|
|||
const WINDOW_OVERLAY_FADE_TIME = 200;
|
||||
const WINDOW_DND_SIZE = 256;
|
||||
const DRAGGING_WINDOW_OPACITY = 100;
|
||||
const ICON_OVERLAP = 0.7;
|
||||
const ICON_TITLE_SPACING = 6;
|
||||
|
||||
const ControlsState = OverviewControls.ControlsState;
|
||||
|
||||
|
@ -109,7 +111,6 @@ const WindowPreviewCommon = {
|
|||
this._overviewAdjustment = overviewAdjustment;
|
||||
|
||||
const ICON_SIZE = opt.WIN_PREVIEW_ICON_SIZE;
|
||||
const ICON_OVERLAP = 0.7;
|
||||
|
||||
Shell.WindowPreview.prototype._init.bind(this)({
|
||||
reactive: true,
|
||||
|
@ -589,6 +590,15 @@ const WindowPreviewCommon = {
|
|||
}
|
||||
},
|
||||
|
||||
overlapHeights() {
|
||||
const [, titleHeight] = this._title.get_preferred_height(-1);
|
||||
|
||||
const topOverlap = 0;
|
||||
const bottomOverlap = opt.WIN_TITLES_POSITION === 2 ? titleHeight + ICON_TITLE_SPACING : 0;
|
||||
|
||||
return [topOverlap, bottomOverlap];
|
||||
},
|
||||
|
||||
_onDestroy() {
|
||||
if (this._activateSelected)
|
||||
this._activate();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue