Merge pull request #427 from pascalorg/fix/compass-north

fix(editor): point compass needle at true north, not camera
This commit is contained in:
Wassim SAMAD
2026-06-18 09:16:19 -04:00
committed by GitHub
@@ -10316,14 +10316,14 @@ export function FloorplanPanel({
(compassHost ? (
createPortal(
<FloorplanCompassButton
northRotationDeg={-floorplanUserRotationDeg}
northRotationDeg={floorplanUserRotationDeg}
onAlignNorth={alignFloorplanViewToNorth}
/>,
compassHost,
)
) : (
<FloorplanCompassButton
northRotationDeg={-floorplanUserRotationDeg}
northRotationDeg={floorplanUserRotationDeg}
onAlignNorth={alignFloorplanViewToNorth}
/>
))}