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
commit 9e7beb8910
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10316,14 +10316,14 @@ export function FloorplanPanel({
(compassHost ? (
createPortal(
<FloorplanCompassButton
northRotationDeg={-floorplanUserRotationDeg}
northRotationDeg={floorplanUserRotationDeg}
onAlignNorth={alignFloorplanViewToNorth}
/>,
compassHost,
)
) : (
<FloorplanCompassButton
northRotationDeg={-floorplanUserRotationDeg}
northRotationDeg={floorplanUserRotationDeg}
onAlignNorth={alignFloorplanViewToNorth}
/>
))}