fix: allow panning in projection view when mouse is outside room boundaries

The background Rect was intercepting mouse events, causing the pan
hit-test to treat it as an interactive item and skip panning. Adding
listening={false} lets clicks pass through to the Stage.
This commit is contained in:
2026-04-13 11:39:09 +03:00
parent 5929ba6bbb
commit 108f1ac2c7
@@ -554,6 +554,7 @@ export function WallProjectionView({
width={width} width={width}
height={height} height={height}
fill={isHighlighted ? colors.canvasBgHighlight : colors.canvasBg} fill={isHighlighted ? colors.canvasBgHighlight : colors.canvasBg}
listening={false}
/> />
{/* Pan group: all content shifts with viewPan */} {/* Pan group: all content shifts with viewPan */}