Move from CoreBrowerTerminal to CoreMouseService. Still slow though

This commit is contained in:
Anthony Kim
2025-08-28 22:54:50 -07:00
parent 5bd7b4aaec
commit ebddd5d346
4 changed files with 48 additions and 33 deletions
+5
View File
@@ -58,6 +58,11 @@ export interface ICoreMouseService {
* Human readable version of mouse events.
*/
explainEvents(events: CoreMouseEventType): { [event: string]: boolean };
/**
* Process wheel event taking partial scroll into account.
*/
consumeWhellEvent(ev: WheelEvent, cellHeight?: number, dpr?: number): number;
}
export const ICoreService = createDecorator<ICoreService>('CoreService');