Commit 22a5abb
committed
fix(style): fix visual artifacts after deselecting list items at high DPI
Use setClipRect to limit drawing area and prevent antialiasing artifacts
from extending beyond item boundaries.
使用setClipRect限制绘制区域,防止反锯齿伪影超出item边界。
Log: 修复高DPI缩放下列表项取消选中后的视觉残留问题
PMS: BUG-332513
Influence: 修复后在125%及更高DPI缩放下,列表项取消选中后不再出现视觉残留横线,同时保持圆角平滑效果,不影响其他项的正常显示。1 parent 15a1f5d commit 22a5abb
1 file changed
+13
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
355 | | - | |
| 355 | + | |
356 | 356 | | |
357 | | - | |
358 | | - | |
359 | | - | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
360 | 360 | | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
366 | 369 | | |
367 | 370 | | |
368 | 371 | | |
| |||
0 commit comments