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 ? (
|
(compassHost ? (
|
||||||
createPortal(
|
createPortal(
|
||||||
<FloorplanCompassButton
|
<FloorplanCompassButton
|
||||||
northRotationDeg={-floorplanUserRotationDeg}
|
northRotationDeg={floorplanUserRotationDeg}
|
||||||
onAlignNorth={alignFloorplanViewToNorth}
|
onAlignNorth={alignFloorplanViewToNorth}
|
||||||
/>,
|
/>,
|
||||||
compassHost,
|
compassHost,
|
||||||
)
|
)
|
||||||
) : (
|
) : (
|
||||||
<FloorplanCompassButton
|
<FloorplanCompassButton
|
||||||
northRotationDeg={-floorplanUserRotationDeg}
|
northRotationDeg={floorplanUserRotationDeg}
|
||||||
onAlignNorth={alignFloorplanViewToNorth}
|
onAlignNorth={alignFloorplanViewToNorth}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Reference in New Issue
Block a user