Commit 7db3139
fw/applib/ui/dialogs: fix dialog icon animation offset for wider displays
The hardcoded DISP_OFFSET of 80 was insufficient for displays wider than
144px (e.g. obelix/robert at 200px), causing the icon slide-in animation
to start on-screen instead of off-screen. Use DISP_COLS for the from-right
offset and -icon_rect.size.w for the from-left offset to ensure the icon
always starts fully off-screen on all display sizes.
Fixes FIRM-1068
Signed-Off-By: Gerard Marull-Paretas <gerard@teslabs.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 55fcff9 commit 7db3139
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | | - | |
| 117 | + | |
| 118 | + | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
0 commit comments