Commit 7a42731
committed
fix(tray): allow plugin icons to be dragged to leftmost position
- Fix overly strict drag condition in TrayContainer.qml that prevented plugin icons from being dragged to the leftmost position
- Replace `dropHoverIndex !== 0` check with precise condition `dropHoverIndex === 0 && !surfaceId.startsWith("application-tray") && isBefore`
- Maintain protection for application tray icons while allowing plugin icons to be properly positioned
- Fix inconsistent behavior between animation states
pms: BUG-3179551 parent 5e607a5 commit 7a42731
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
169 | 181 | | |
170 | 182 | | |
171 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
172 | 186 | | |
173 | 187 | | |
174 | 188 | | |
| |||
0 commit comments