From f84fd07857b6b921e60de2c14d5801554d994e0f Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Sat, 26 Aug 2017 20:02:15 +0200 Subject: [PATCH] invert scroll-zoom (fixes #184) --- terminus-terminal/src/components/terminalTab.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminus-terminal/src/components/terminalTab.component.ts b/terminus-terminal/src/components/terminalTab.component.ts index 187a89ec..546e1997 100644 --- a/terminus-terminal/src/components/terminalTab.component.ts +++ b/terminus-terminal/src/components/terminalTab.component.ts @@ -182,7 +182,7 @@ export class TerminalTabComponent extends BaseTabComponent { this.mouseEvent$.next(event) if (event.type === 'mousewheel') { if (event.ctrlKey || event.metaKey) { - if (event.wheelDeltaY < 0) { + if (event.wheelDeltaY > 0) { this.zoomIn() } else { this.zoomOut()