MCPcopy
hub / github.com/dolphin-wood/smooth-scrollbar / _renew

Method _renew

src/utils/touch-record.ts:143–151  ·  view source on GitHub ↗
(touch: Touch)

Source from the content-addressed store, hash-verified

141 }
142
143 private _renew(touch: Touch) {
144 if (!this._has(touch)) {
145 return;
146 }
147
148 const tracker = this._touchList[touch.identifier];
149
150 tracker.update(touch);
151 }
152
153 private _delete(touch: Touch) {
154 delete this._touchList[touch.identifier];

Callers 1

updateMethod · 0.95

Calls 2

_hasMethod · 0.95
updateMethod · 0.65

Tested by

no test coverage detected