Lint and remove more parts

This commit is contained in:
Daniel Imms
2026-02-01 22:36:14 -08:00
parent d5900c7eae
commit a105d3e457
19 changed files with 180 additions and 833 deletions
+2 -2
View File
@@ -55,7 +55,7 @@ export class StandardMouseEvent implements IMouseEvent {
this.target = e.target as HTMLElement;
this.detail = e.detail || 1;
this.detail = e.detail ?? 1;
if (e.type === 'dblclick') {
this.detail = 2;
}
@@ -134,7 +134,7 @@ export class StandardWheelEvent {
if (e) {
const e1 = e as IWebKitMouseWheelEvent as any;
const e2 = e as unknown as IGeckoMouseWheelEvent;
const devicePixelRatio = e.view?.devicePixelRatio || 1;
const devicePixelRatio = e.view?.devicePixelRatio ?? 1;
if (typeof e1.wheelDeltaY !== 'undefined') {
if (shouldFactorDPR) {