Kaynağa Gözat

Merge branch 'v4.0.x'

Torkel Ödegaard 9 yıl önce
ebeveyn
işleme
ee36234196
1 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. 5 1
      public/app/core/services/keybindingSrv.ts

+ 5 - 1
public/app/core/services/keybindingSrv.ts

@@ -101,7 +101,11 @@ export class KeybindingSrv {
     });
 
     this.bind('t z', () => {
-      scope.appEvent('zoom-out');
+      scope.appEvent('zoom-out', 2);
+    });
+
+    this.bind('ctrl+z', () => {
+      scope.appEvent('zoom-out', 2);
     });
 
     this.bind('t left', () => {