mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
workspace: Ensure style of window-chrome titles before requesting width
Make sure the stylesheet properties of the window-chrome title are updated before requesting the preferred width of the title to prevent size changes of the title after we animated the width. Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/58
This commit is contained in:
parent
46c13349fc
commit
cf5204760d
1 changed files with 2 additions and 0 deletions
|
|
@ -578,6 +578,8 @@ var WindowOverlay = class {
|
|||
border.remove_all_transitions();
|
||||
title.remove_all_transitions();
|
||||
|
||||
title.ensure_style();
|
||||
|
||||
let [cloneX, cloneY, cloneWidth, cloneHeight] = this._windowClone.slot;
|
||||
|
||||
let layout = Meta.prefs_get_button_layout();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue