mirror of
https://github.com/Eugeny/tabby.git
synced 2025-01-24 14:14:18 +08:00
lint
This commit is contained in:
parent
e63c87df72
commit
2b12f89f31
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user