1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-25 11:33:35 +03:00

Fixed build errors

This commit is contained in:
Austin Warren 2018-12-14 14:50:38 -08:00
parent 798dda5236
commit 6b823d0fa0

View File

@ -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) {