From f9fba0e935af53e2cf8a0fe79107abb1c3b2d2d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 6 Dec 2016 07:42:22 +0100 Subject: [PATCH] fix(timerange): fixed time range zoom out shortcut, fixes #6837 --- public/app/core/services/keybindingSrv.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/public/app/core/services/keybindingSrv.ts b/public/app/core/services/keybindingSrv.ts index 880315ed498..c1109fa2b2e 100644 --- a/public/app/core/services/keybindingSrv.ts +++ b/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', () => {