Remove more parts

This commit is contained in:
Daniel Imms
2026-02-01 22:22:29 -08:00
parent beebe8b5dc
commit d5900c7eae
30 changed files with 136 additions and 1417 deletions
+4 -4
View File
@@ -7,8 +7,8 @@ import * as DomUtils from './dom';
import { mainWindow } from './window';
import * as arrays from './arrays';
import { memoize } from './decorators';
import { Event as EventUtils } from './event';
import { Disposable, IDisposable, markAsSingleton, toDisposable } from './lifecycle';
import { EventUtils } from 'common/Event';
import { Disposable, IDisposable, toDisposable } from 'common/Lifecycle';
import { LinkedList } from './linkedList';
export namespace EventType {
@@ -104,7 +104,7 @@ export class Gesture extends Disposable {
return Disposable.None;
}
if (!Gesture.INSTANCE) {
Gesture.INSTANCE = markAsSingleton(new Gesture());
Gesture.INSTANCE = new Gesture();
}
const remove = Gesture.INSTANCE.targets.push(element);
@@ -116,7 +116,7 @@ export class Gesture extends Disposable {
return Disposable.None;
}
if (!Gesture.INSTANCE) {
Gesture.INSTANCE = markAsSingleton(new Gesture());
Gesture.INSTANCE = new Gesture();
}
const remove = Gesture.INSTANCE.ignoreTargets.push(element);