Commit aca767a
committed
feat(super-editor): invalidate viewport geometry on sidebar-toggle (SD-3326)
ui.viewport.observe now fires when the comments rail opens or closes.
The rail toggle shifts document geometry without a guaranteed layout
repaint, so overlay consumers' cached rects would silently go stale.
Bridges the existing sidebar-toggle signal into a geometry invalidation,
reusing the 'layout' reason (consumers only re-query, so no new public
reason is added).1 parent 18a0d19 commit aca767a
2 files changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1013 | 1013 | | |
1014 | 1014 | | |
1015 | 1015 | | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
1016 | 1022 | | |
1017 | 1023 | | |
1018 | 1024 | | |
| |||
1046 | 1052 | | |
1047 | 1053 | | |
1048 | 1054 | | |
| 1055 | + | |
1049 | 1056 | | |
1050 | 1057 | | |
1051 | 1058 | | |
| 1059 | + | |
1052 | 1060 | | |
1053 | 1061 | | |
1054 | 1062 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
734 | 734 | | |
735 | 735 | | |
736 | 736 | | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
737 | 752 | | |
0 commit comments