Merge pull request #427 from pascalorg/fix/compass-north
fix(editor): point compass needle at true north, not camera
This commit is contained in:
@@ -10316,14 +10316,14 @@ export function FloorplanPanel({
|
||||
(compassHost ? (
|
||||
createPortal(
|
||||
<FloorplanCompassButton
|
||||
northRotationDeg={-floorplanUserRotationDeg}
|
||||
northRotationDeg={floorplanUserRotationDeg}
|
||||
onAlignNorth={alignFloorplanViewToNorth}
|
||||
/>,
|
||||
compassHost,
|
||||
)
|
||||
) : (
|
||||
<FloorplanCompassButton
|
||||
northRotationDeg={-floorplanUserRotationDeg}
|
||||
northRotationDeg={floorplanUserRotationDeg}
|
||||
onAlignNorth={alignFloorplanViewToNorth}
|
||||
/>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user