From 108f1ac2c750614c6ff5fdec18e233e2951859bc Mon Sep 17 00:00:00 2001 From: "alexei.dolgolyov" Date: Mon, 13 Apr 2026 11:39:09 +0300 Subject: [PATCH] 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. --- .../src/components/editor/projection/WallProjectionView.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/client/src/components/editor/projection/WallProjectionView.tsx b/apps/client/src/components/editor/projection/WallProjectionView.tsx index c54067f..b56bb6b 100644 --- a/apps/client/src/components/editor/projection/WallProjectionView.tsx +++ b/apps/client/src/components/editor/projection/WallProjectionView.tsx @@ -554,6 +554,7 @@ export function WallProjectionView({ width={width} height={height} fill={isHighlighted ? colors.canvasBgHighlight : colors.canvasBg} + listening={false} /> {/* Pan group: all content shifts with viewPan */}