Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions src/ShellClients/PanelClone.vala
Original file line number Diff line number Diff line change
Expand Up @@ -136,18 +136,15 @@ public class Gala.PanelClone : Object {
return;
}

var animation_duration = get_animation_duration ();

clone.save_easing_state ();
clone.set_easing_mode (Clutter.AnimationMode.EASE_OUT_QUAD);
clone.set_easing_duration (animation_duration);
clone.set_easing_duration (get_animation_duration ());
clone.y = calculate_clone_y (false);
clone.restore_easing_state ();

Timeout.add (animation_duration, () => {
clone.get_transition ("y").completed.connect (() => {
clone.visible = false;
panel_hidden = false;
return Source.REMOVE;
});
}
}