added scroll bubbling on wheel and touch move events

This commit is contained in:
UmairShahzad
2019-08-15 07:41:23 +05:00
parent 95ff15457b
commit 6c3b084fe9
4 changed files with 34 additions and 14 deletions
+2 -2
View File
@@ -37,9 +37,9 @@ export interface IViewport extends IDisposable {
scrollBarWidth: number;
syncScrollArea(): void;
getLinesScrolled(ev: WheelEvent): number;
onWheel(ev: WheelEvent): void;
onWheel(ev: WheelEvent): boolean;
onTouchStart(ev: TouchEvent): void;
onTouchMove(ev: TouchEvent): void;
onTouchMove(ev: TouchEvent): boolean;
onThemeChange(colors: IColorSet): void;
}