@urso/core 0.6.19 → 0.6.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@urso/core",
3
- "version": "0.6.19",
3
+ "version": "0.6.20",
4
4
  "description": "HTML5 game engine",
5
5
  "main": "build/js/index.js",
6
6
  "author": "Megbrimef",
@@ -227,7 +227,7 @@ class ModulesObjectsModelsDragContainer extends ModulesObjectsModelsContainer {
227
227
 
228
228
  this._moveInProgress = true;
229
229
 
230
- const offset = e.offsetY ?? changedOffsetY ?? clientY ?? 0;
230
+ const offset = e.offsetY ?? e.changedTouches[0].changedOffsetY ?? e.changedTouches[0].clientY ?? 0;
231
231
 
232
232
  if (Math.abs(this._moveStartedY - offset) > this._minMoveDistance && !this._dragStarted) {
233
233
  this._dragStarted = true;