Procházet zdrojové kódy

fix(timerange): fixed time range zoom out shortcut, fixes #6837

Torkel Ödegaard před 9 roky
rodič
revize
f9fba0e935
1 změnil soubory, kde provedl 5 přidání a 1 odebrání
  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', () => {