mirror of
https://github.com/elementary/gala.git
synced 2024-12-25 02:02:11 +03:00
This commit is contained in:
parent
26e5f2d627
commit
282ee282f8
@ -509,6 +509,10 @@ namespace Gala {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void play_nudge_animation (Meta.MotionDirection direction) {
|
private void play_nudge_animation (Meta.MotionDirection direction) {
|
||||||
|
if (!enable_animations) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
animating_switch_workspace = true;
|
animating_switch_workspace = true;
|
||||||
|
|
||||||
var dest = (direction == Meta.MotionDirection.LEFT ? NUDGE_GAP : -NUDGE_GAP);
|
var dest = (direction == Meta.MotionDirection.LEFT ? NUDGE_GAP : -NUDGE_GAP);
|
||||||
|
Loading…
Reference in New Issue
Block a user