mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
overviewControls: Animate sidebars the same duration as windows
When you tap Super and see the sidebars and windows slide, it looks more cohesive if those animations complete at the same time. Previously there were 0.09 seconds difference between the two animations which was enough to make it look slightly buggy. Now it doesn't. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1289
This commit is contained in:
parent
e4db68a1da
commit
c7e597cf72
1 changed files with 2 additions and 1 deletions
|
|
@ -8,8 +8,9 @@ const Main = imports.ui.main;
|
|||
const Params = imports.misc.params;
|
||||
const ViewSelector = imports.ui.viewSelector;
|
||||
const WorkspaceThumbnail = imports.ui.workspaceThumbnail;
|
||||
const Overview = imports.ui.overview;
|
||||
|
||||
var SIDE_CONTROLS_ANIMATION_TIME = 160;
|
||||
var SIDE_CONTROLS_ANIMATION_TIME = Overview.ANIMATION_TIME;
|
||||
|
||||
function getRtlSlideDirection(direction, actor) {
|
||||
let rtl = actor.text_direction == Clutter.TextDirection.RTL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue