overview: Increase SHADE_ANIMATION_TIME a bit
The SHADE_ANIMATION_TIME variable sets the duration of the animation of the background shading that is done when showing the overview. As explained in the code-comment, that value must be smaller than the animation time of the overview. Now since we're going to start animating the background color of the panel when showing the overview and we're going to use the overviews animation time for that, we want to make sure the shading of the background image and the animation of the panel are kept "in sync", otherwise the transitions would look bad. So slightly increase the value of SHADE_ANIMATION_TIME to 240 (the overviews animation time is 250) to make sure those happen in the same timeframe. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1397>
This commit is contained in:
parent
0cbccf7403
commit
87103374fd
@ -21,7 +21,7 @@ const WorkspaceThumbnail = imports.ui.workspaceThumbnail;
|
|||||||
// Must be less than ANIMATION_TIME, since we switch to
|
// Must be less than ANIMATION_TIME, since we switch to
|
||||||
// or from the overview completely after ANIMATION_TIME,
|
// or from the overview completely after ANIMATION_TIME,
|
||||||
// and don't want the shading animation to get cut off
|
// and don't want the shading animation to get cut off
|
||||||
var SHADE_ANIMATION_TIME = 200;
|
var SHADE_ANIMATION_TIME = 240;
|
||||||
|
|
||||||
var DND_WINDOW_SWITCH_TIMEOUT = 750;
|
var DND_WINDOW_SWITCH_TIMEOUT = 750;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user