mirror of
https://github.com/Eugeny/tabby.git
synced 2025-01-06 13:44:36 +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
|
||||
|
||||
if ('wheelDeltaY' in event) {
|
||||
wheelDeltaY = (event as MouseWheelEvent)['wheelDeltaY']
|
||||
wheelDeltaY = (event as WheelEvent)['wheelDeltaY']
|
||||
} else {
|
||||
wheelDeltaY = (event as MouseWheelEvent)['deltaY']
|
||||
wheelDeltaY = (event as WheelEvent).deltaY
|
||||
}
|
||||
|
||||
if (event.altKey) {
|
||||
|
Loading…
Reference in New Issue
Block a user