mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
format
This commit is contained in:
@@ -279,7 +279,7 @@ export class Viewport extends Disposable implements IViewport {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private _getPixelsScrolled(ev: WheelEvent): number {
|
||||
// Do nothing if it's not a vertical scroll event
|
||||
if (ev.deltaY === 0 || ev.shiftKey) {
|
||||
|
||||
Reference in New Issue
Block a user