Spaces:
Runtime error
Runtime error
fix renderer
Browse files- static/poseEditor.js +1 -1
static/poseEditor.js
CHANGED
@@ -559,7 +559,7 @@ function ModifyDragRange(delta) { dragRange = Math.max(dragRangeDelta, Math.min(
|
|
559 |
|
560 |
document.addEventListener('wheel', function(event) {
|
561 |
if (!isMouseOnCanvas()) {return;}
|
562 |
-
if (!event.altKey) {return;}
|
563 |
|
564 |
event.preventDefault();
|
565 |
const deltaY = event.deltaY;
|
|
|
559 |
|
560 |
document.addEventListener('wheel', function(event) {
|
561 |
if (!isMouseOnCanvas()) {return;}
|
562 |
+
if (!event.altKey && !keyDownFlags['Space']) {return;}
|
563 |
|
564 |
event.preventDefault();
|
565 |
const deltaY = event.deltaY;
|