Commit 27a7c0a
committed
fix(ui): fix GridColumnChip glitch in display settings column picker
Remove redundant Modifier.clip() from Surface — Surface already clips
via its shape parameter. Having clip before border caused the border to
be drawn inside an already-clipped region, producing rendering artifacts
most visible on the narrow single-column chip.
Add widthIn(min = 56.dp) so the single-dot chip has a reasonable minimum
width and all chips look visually balanced regardless of dot count.1 parent 32dcfe8 commit 27a7c0a
1 file changed
Lines changed: 2 additions & 1 deletion
File tree
- android/app/src/main/java/dev/dettmer/simplenotes/ui/settings/screens
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
323 | 324 | | |
324 | 325 | | |
325 | 326 | | |
326 | | - | |
| 327 | + | |
327 | 328 | | |
328 | 329 | | |
329 | 330 | | |
| |||
0 commit comments