Commit d4f1053
fix(editor): compass sync review fixes
Route all pending-pose cancellations through clearPendingFloorplanNavigationPose()
so savedSmoothTime is always restored. Add a controlstart listener to catch
right-click orbit and other pointer drags that weren't handled. Guard the
rotation-degree ref mirror to prevent React re-renders from clobbering the
imperative 3D-owned value when the panel is hidden, and add a useLayoutEffect
to keep the needle DOM in sync. Make the catch-up effect re-run directly on
panel reopen.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent cb5cfc7 commit d4f1053
2 files changed
Lines changed: 43 additions & 16 deletions
Lines changed: 25 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
| 514 | + | |
519 | 515 | | |
520 | 516 | | |
521 | 517 | | |
| |||
556 | 552 | | |
557 | 553 | | |
558 | 554 | | |
559 | | - | |
| 555 | + | |
560 | 556 | | |
561 | 557 | | |
562 | 558 | | |
| |||
589 | 585 | | |
590 | 586 | | |
591 | 587 | | |
592 | | - | |
| 588 | + | |
593 | 589 | | |
594 | 590 | | |
595 | 591 | | |
| |||
741 | 737 | | |
742 | 738 | | |
743 | 739 | | |
744 | | - | |
| 740 | + | |
745 | 741 | | |
746 | 742 | | |
747 | 743 | | |
| |||
804 | 800 | | |
805 | 801 | | |
806 | 802 | | |
807 | | - | |
| 803 | + | |
808 | 804 | | |
809 | 805 | | |
810 | 806 | | |
| |||
813 | 809 | | |
814 | 810 | | |
815 | 811 | | |
816 | | - | |
| 812 | + | |
817 | 813 | | |
818 | 814 | | |
819 | 815 | | |
| |||
855 | 851 | | |
856 | 852 | | |
857 | 853 | | |
858 | | - | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
859 | 873 | | |
860 | 874 | | |
861 | 875 | | |
| |||
Lines changed: 18 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5181 | 5181 | | |
5182 | 5182 | | |
5183 | 5183 | | |
5184 | | - | |
| 5184 | + | |
| 5185 | + | |
| 5186 | + | |
| 5187 | + | |
| 5188 | + | |
5185 | 5189 | | |
5186 | 5190 | | |
5187 | 5191 | | |
| |||
6543 | 6547 | | |
6544 | 6548 | | |
6545 | 6549 | | |
| 6550 | + | |
| 6551 | + | |
6546 | 6552 | | |
6547 | 6553 | | |
6548 | 6554 | | |
6549 | 6555 | | |
6550 | 6556 | | |
6551 | 6557 | | |
6552 | 6558 | | |
6553 | | - | |
6554 | | - | |
6555 | | - | |
6556 | 6559 | | |
6557 | 6560 | | |
6558 | | - | |
| 6561 | + | |
6559 | 6562 | | |
6560 | 6563 | | |
6561 | 6564 | | |
| |||
6586 | 6589 | | |
6587 | 6590 | | |
6588 | 6591 | | |
| 6592 | + | |
| 6593 | + | |
| 6594 | + | |
| 6595 | + | |
| 6596 | + | |
| 6597 | + | |
| 6598 | + | |
| 6599 | + | |
| 6600 | + | |
| 6601 | + | |
6589 | 6602 | | |
6590 | 6603 | | |
6591 | 6604 | | |
| |||
0 commit comments