diff --git a/terminus-terminal/src/components/terminalTab.component.ts b/terminus-terminal/src/components/terminalTab.component.ts index 5dea3b57..6812ed6b 100644 --- a/terminus-terminal/src/components/terminalTab.component.ts +++ b/terminus-terminal/src/components/terminalTab.component.ts @@ -264,9 +264,9 @@ export class TerminalTabComponent extends BaseTabComponent { let wheelDeltaY = 0 if ('wheelDeltaY' in event) { - wheelDeltaY = (event as MouseWheelEvent).wheelDeltaY + wheelDeltaY = (event as MouseWheelEvent)['wheelDeltaY'] } else { - wheelDeltaY = (event as MouseWheelEvent).deltaY + wheelDeltaY = (event as MouseWheelEvent)['deltaY'] } if (event.ctrlKey || event.metaKey) {