statelyai / xstate-viz

Visualizer for XState machines
https://stately.ai/viz
MIT License
434 stars 102 forks source link

Fixed panning/dragging interations (the ones that include pressing pointer down) in FireFox #343

Closed Andarist closed 2 years ago

Andarist commented 2 years ago

https://github.com/statelyai/xstate-viz/issues/342

FF is using 0 as pointerId for the primary pointer so naturally this didn't pass the truthiness check here. Other browsers worked as they are using 1.

changeset-bot[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: b01d4336bc7a923b7b5a4a502cea67200f7ae295

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | -------------- | ----- | | xstate-viz-app | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/statelyai/xstate-viz/J3ZkuFtVTwVgrMsb6qMXX5iNiHr7
✅ Preview: https://xstate-viz-git-andarist-fix-342-statelyai.vercel.app

Andarist commented 2 years ago

Yep, my hard-earned experience allowed me to fix this quickly :trollface: