@viamrobotics/motion-tools 1.23.0 → 1.23.1

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.
@@ -85,7 +85,7 @@
85
85
  const dt = delta * 1000
86
86
 
87
87
  // Disallow keyboard navigation if the user is holding down the meta key
88
- if (keyboard.key('meta').pressed) {
88
+ if (keyboard.key('meta').pressed || keyboard.key('control').pressed) {
89
89
  return
90
90
  }
91
91
 
@@ -13,7 +13,7 @@
13
13
  </script>
14
14
 
15
15
  <svelte:window
16
- onkeydown={(event) => {
16
+ onkeydowncapture={(event) => {
17
17
  if (event.metaKey && event.key.toLowerCase() === 's') {
18
18
  event.preventDefault()
19
19
  event.stopImmediatePropagation()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viamrobotics/motion-tools",
3
- "version": "1.23.0",
3
+ "version": "1.23.1",
4
4
  "description": "Motion visualization with Viam",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",