This commit is contained in:
Eugene Pankov 2022-02-23 20:16:12 +01:00
parent e63c87df72
commit 2b12f89f31
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -647,9 +647,9 @@ export class BaseTerminalTabComponent extends BaseTabComponent implements OnInit
let wheelDeltaY = 0 let wheelDeltaY = 0
if ('wheelDeltaY' in event) { if ('wheelDeltaY' in event) {
wheelDeltaY = (event as MouseWheelEvent)['wheelDeltaY'] wheelDeltaY = (event as WheelEvent)['wheelDeltaY']
} else { } else {
wheelDeltaY = (event as MouseWheelEvent)['deltaY'] wheelDeltaY = (event as WheelEvent).deltaY
} }
if (event.altKey) { if (event.altKey) {