Commit 7031841
authored
fix(ui): prevent state dots from being clipped by physical notch (farouqaldori#44)
* fix(ui): prevent state dots from being clipped by physical notch
Apply closedContentWidth to frame modifiers so the closed notch expands
to accommodate session dots when multiple sessions are active. Also
expand the hit test rect in NotchViewController to match the expanded
content area, ensuring clicks on dots properly trigger the notch to open.
Fixes farouqaldori#37
* fix(ui): sync hit-test expansion padding with NotchView
Change expansionPadding from +40 to +38 to match the actual maximum
expansion width in NotchView.expansionWidth (base 20 + permission
indicator 18).1 parent 2326f6b commit 7031841
2 files changed
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
64 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | 72 | | |
74 | 73 | | |
75 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
76 | 79 | | |
77 | | - | |
| 80 | + | |
78 | 81 | | |
79 | | - | |
| 82 | + | |
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
| |||
0 commit comments