瀏覽代碼

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

Torkel Ödegaard 9 年之前
父節點
當前提交
f9fba0e935
共有 1 個文件被更改,包括 5 次插入1 次删除
  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', () => {