Commit 2b26132
committed
fix: fix the issue where multiple applications remain selected after long-pressing the launcher
1. Add interactionPressed and interactionHovered properties to ItemBackground
2. Use HoverHandler for explicit mouse hover detection in list views
3. Replace direct ColorSelector state check with controlled interaction properties
4. Apply consistent interaction state binding in AppListView and FreeSortListView
Log: Fix multiple apps incorrectly staying in selected state after consecutive long presses
fix: 修复启动器长按多个应用后多个应用保持选中状态
1. 为 ItemBackground 添加 interactionPressed 和 interactionHovered 属性
2. 使用 HoverHandler 显式检测鼠标悬停状态
3. 用可控的交互属性替代直接检查 ColorSelector 状态
4. 在 AppListView 和 FreeSortListView 中统一绑定交互状态
Log: 修复启动器长按多个应用后多个应用错误保持选中状态的问题
PMS: BUG-3645291 parent 7db028f commit 2b26132
3 files changed
Lines changed: 19 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
209 | 215 | | |
210 | 216 | | |
211 | 217 | | |
| |||
261 | 267 | | |
262 | 268 | | |
263 | 269 | | |
| 270 | + | |
| 271 | + | |
264 | 272 | | |
265 | 273 | | |
266 | 274 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
305 | 310 | | |
306 | 311 | | |
307 | 312 | | |
| |||
323 | 328 | | |
324 | 329 | | |
325 | 330 | | |
| 331 | + | |
| 332 | + | |
326 | 333 | | |
327 | 334 | | |
328 | 335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | | - | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
0 commit comments