zincjs 1.12.0 → 1.12.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.
- package/build/zinc.frontend.js +1 -1
- package/build/zinc.js +4 -3
- package/build/zinc.js.map +1 -1
- package/package.json +1 -1
- package/src/controls.js +3 -1
- package/src/primitives/label.js +1 -1
package/package.json
CHANGED
package/src/controls.js
CHANGED
|
@@ -546,7 +546,9 @@ const CameraControls = function ( object, domElement, renderer, scene ) {
|
|
|
546
546
|
this.pointer_y = this.pointer_y + changes;
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
|
-
|
|
549
|
+
if (Object.values(KEYBOARD).includes(event.keyCode)) {
|
|
550
|
+
event.preventDefault();
|
|
551
|
+
}
|
|
550
552
|
}
|
|
551
553
|
|
|
552
554
|
const onDocumentKeyupEvent = event => {
|