xstate-viz
xstate-viz copied to clipboard
Only allow panning if there is anything to pan on the canvas
I've noticed that we can now pan around on an empty canvas (including on the <WelcomeArea/>). Ideally, this would be disabled as this interaction doesn't make sense in such states.