Skip to content

Commit 5d9dc0d

Browse files
committed
Fix merge
1 parent f84da14 commit 5d9dc0d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Gestures/GestureController.vala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public class Gala.GestureController : Object {
141141
direction_multiplier = -1;
142142
}
143143

144-
if (snap && !AnimationsSettings.get_enable_animations ()) {
144+
if (snap && !Meta.Prefs.get_gnome_animations ()) {
145145
prepare ();
146146
finish (0, progress + direction_multiplier);
147147
recognizing = false;
@@ -231,7 +231,7 @@ public class Gala.GestureController : Object {
231231
return;
232232
}
233233

234-
if (!AnimationsSettings.get_enable_animations ()) {
234+
if (!Meta.Prefs.get_gnome_animations ()) {
235235
progress = clamped_to;
236236
target.propagate (END, action, calculate_bounded_progress ());
237237
return;

src/Widgets/WindowClone.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ public class Gala.WindowClone : ActorTarget {
247247

248248
if (animate) {
249249
save_easing_state ();
250-
set_easing_duration (AnimationsSettings.get_animation_duration (MultitaskingView.ANIMATION_DURATION));
250+
set_easing_duration (Utils.get_animation_duration (MultitaskingView.ANIMATION_DURATION));
251251
set_easing_mode (EASE_OUT_QUAD);
252252
}
253253

src/Zoom.vala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public class Gala.Zoom : Object, GestureTarget {
6363

6464
[CCode (instance_pos = -1)]
6565
private void zoom_in (Meta.Display display, Meta.Window? window,
66-
Clutter.KeyEvent event, Meta.KeyBinding binding)
66+
Clutter.KeyEvent event, Meta.KeyBinding binding) {
6767
zoom (SHORTCUT_DELTA, true);
6868
}
6969

@@ -109,7 +109,7 @@ public class Gala.Zoom : Object, GestureTarget {
109109

110110
case UPDATE:
111111
var target_zoom = (float) progress * 10 + 1;
112-
if (!AnimationsSettings.get_enable_animations ()) {
112+
if (!Meta.Prefs.get_gnome_animations ()) {
113113
var delta = target_zoom - current_zoom;
114114
if (delta.abs () >= SHORTCUT_DELTA - float.EPSILON) {
115115
target_zoom = current_zoom + ((delta > 0) ? SHORTCUT_DELTA : -SHORTCUT_DELTA);

0 commit comments

Comments
 (0)