mirror of
https://github.com/elementary/gala.git
synced 2024-12-25 02:02:11 +03:00
parent
bb573b409a
commit
fd98933ed1
@ -102,6 +102,8 @@ namespace Gala {
|
||||
private bool animating_switch_workspace = false;
|
||||
private GestureAnimationDirector gesture_animation_director;
|
||||
|
||||
private const int WORKSPACE_GAP = 24;
|
||||
|
||||
construct {
|
||||
gesture_animation_director = new GestureAnimationDirector ();
|
||||
|
||||
@ -2107,6 +2109,7 @@ namespace Gala {
|
||||
main_container.height = move_primary_only ? monitor_geom.height : screen_height;
|
||||
|
||||
var x2 = move_primary_only ? monitor_geom.width : screen_width;
|
||||
x2 += WORKSPACE_GAP * InternalUtils.get_ui_scaling_factor ();
|
||||
if (direction == Meta.MotionDirection.RIGHT)
|
||||
x2 = -x2;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user