mirror of
https://github.com/elementary/gala.git
synced 2024-12-18 14:51:51 +03:00
Clip workspaces to their allocation when switching
This commit is contained in:
parent
eb9bc63b3b
commit
10dd89c7bd
@ -540,6 +540,10 @@ namespace Gala
|
||||
in_group.set_position (-x2, -y2);
|
||||
group.set_child_above_sibling (in_group, null);
|
||||
|
||||
in_group.clip_to_allocation = out_group.clip_to_allocation = true;
|
||||
in_group.width = out_group.width = w;
|
||||
in_group.height = out_group.height = h;
|
||||
|
||||
out_group.animate (Clutter.AnimationMode.EASE_IN_OUT_SINE, AnimationSettings.get_default ().workspace_switch_duration,
|
||||
x:x2, y:y2);
|
||||
in_group.animate (Clutter.AnimationMode.EASE_IN_OUT_SINE, AnimationSettings.get_default ().workspace_switch_duration,
|
||||
|
Loading…
Reference in New Issue
Block a user