Commit a124647
Fix macOS transform anchor point compensation in updateLayoutMetrics
The updateLayoutMetrics code path re-applies the transform when the view
size changes, but was missing the macOS anchor point compensation that
adjusts for CALayer.anchorPoint being {0,0} instead of {0.5,0.5}. This
caused the correctly compensated transform from updateProps to be
overwritten with an uncompensated one on every layout change.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2a222b2 commit a124647
1 file changed
Lines changed: 10 additions & 1 deletion
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
718 | 718 | | |
719 | 719 | | |
720 | 720 | | |
721 | | - | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
722 | 731 | | |
723 | 732 | | |
724 | 733 | | |
| |||
0 commit comments