overviewControls: synchronize viewSelector fade and controls slide
If the animation time is not the same for these two, the translation will be adjusted to the allocation during the tween, resulting in a jump in the animation. https://bugzilla.gnome.org/show_bug.cgi?id=694035
This commit is contained in:
@ -9,7 +9,7 @@ const Main = imports.ui.main;
|
||||
const Tweener = imports.ui.tweener;
|
||||
const ViewSelector = imports.ui.viewSelector;
|
||||
|
||||
const SIDE_CONTROLS_ANIMATION_TIME = 0.2;
|
||||
const SIDE_CONTROLS_ANIMATION_TIME = 0.16;
|
||||
|
||||
function getRtlSlideDirection(direction, actor) {
|
||||
let rtl = (actor.text_direction == Clutter.TextDirection.RTL);
|
||||
|
Reference in New Issue
Block a user