1 parent d6ae06d commit 8f07192Copy full SHA for 8f07192
1 file changed
src/ansys/visor/visor-client/src/wasm/VtkScene.js
@@ -499,7 +499,7 @@ export default class VtkScene {
499
window.addEventListener('keydown', async (e) => {
500
// Ctrl+R, Cmd+R and auto-repeat must not move the camera.
501
// CameraGestureTracker applies the same rule: change both together.
502
- if (e.ctrlKey || e.metaKey || e.altKey || e.repeat ) {
+ if (e.ctrlKey || e.metaKey || e.altKey || e.repeat) {
503
return;
504
}
505
switch (e.key.toLowerCase()) {
0 commit comments