mirror of
https://github.com/elementary/gala.git
synced 2024-11-23 20:07:21 +03:00
Follow animation settings on zoom shortcut
This commit is contained in:
parent
8f92acba3a
commit
d96322d9b8
@ -61,13 +61,13 @@ namespace Gala {
|
||||
[CCode (instance_pos = -1)]
|
||||
void zoom_in (Meta.Display display, Meta.Window? window,
|
||||
Clutter.KeyEvent event, Meta.KeyBinding binding) {
|
||||
zoom (SHORTCUT_DELTA, true, true);
|
||||
zoom (SHORTCUT_DELTA, true, wm.enable_animations);
|
||||
}
|
||||
|
||||
[CCode (instance_pos = -1)]
|
||||
void zoom_out (Meta.Display display, Meta.Window? window,
|
||||
Clutter.KeyEvent event, Meta.KeyBinding binding) {
|
||||
zoom (-SHORTCUT_DELTA, true, true);
|
||||
zoom (-SHORTCUT_DELTA, true, wm.enable_animations);
|
||||
}
|
||||
|
||||
private void on_gesture_detected (Gesture gesture) {
|
||||
|
Loading…
Reference in New Issue
Block a user