Use Object.values

This commit is contained in:
Tim Schaub
2022-07-27 15:03:47 -06:00
parent f2d989b299
commit 641bd7af33
6 changed files with 6 additions and 35 deletions

View File

@@ -9,7 +9,6 @@ import PointerEventType from './pointer/EventType.js';
import Target from './events/Target.js';
import {PASSIVE_EVENT_LISTENERS} from './has.js';
import {VOID} from './functions.js';
import {getValues} from './obj.js';
import {listen, unlistenByKey} from './events.js';
class MapBrowserEventHandler extends Target {
@@ -193,7 +192,7 @@ class MapBrowserEventHandler extends Target {
) {
this.trackedTouches_[id] = event;
}
this.activePointers_ = getValues(this.trackedTouches_);
this.activePointers_ = Object.values(this.trackedTouches_);
}
/**