@umicat/three-sdk 0.7.1 → 0.7.2

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.
Files changed (2) hide show
  1. package/dist/Input3D.js +5 -1
  2. package/package.json +1 -1
package/dist/Input3D.js CHANGED
@@ -257,7 +257,11 @@ export class Input3D {
257
257
  // have inherited a bug from its movement controls.
258
258
  const doc = container.ownerDocument;
259
259
  const style = doc.createElement('style');
260
- style.dataset.umicatTouch = '';
260
+ // A DIFFERENT marker from the control layer's. Sharing `data-umicat-touch`
261
+ // put a <style> in <head> ahead of the layer in document order, so
262
+ // `querySelector('[data-umicat-touch]')` started returning the stylesheet
263
+ // and anything looking up the controls found an element with no children.
264
+ style.dataset.umicatTouchCss = '';
261
265
  style.textContent = `
262
266
  html, body { -webkit-user-select: none; user-select: none;
263
267
  -webkit-touch-callout: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umicat/three-sdk",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Three.js runtime for Umicat games: the scene3d design format, its loader with physics, a kinematic character controller, and the Umicat platform via @umicat/platform-sdk.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",