Commit 9fc7ca4
committed
feat: add taskbar click handler for locked state
1. Implement handleDragAreaClick function to activate applications when
taskbar is locked
2. Add coordinate mapping logic to convert drag area clicks to app
container positions
3. Support all dock positions (bottom, top, left, right) with
appropriate coordinate adjustments
4. Connect click handler to drag area onClicked event when Panel.locked
is true
5. Expose appContainer property in TaskManager for external access
feat: 为锁定状态添加任务栏点击处理功能
1. 实现 handleDragAreaClick 函数,在任务栏锁定时激活应用程序
2. 添加坐标映射逻辑,将拖拽区域点击转换为应用容器位置
3. 支持所有停靠位置(底部、顶部、左侧、右侧)并相应调整坐标
4. 当 Panel.locked 为 true 时,将点击处理程序连接到拖拽区域的 onClicked
事件
5. 在 TaskManager 中暴露 appContainer 属性以供外部访问
PMS: TASK-3831271 parent 8dcf20e commit 9fc7ca4
File tree
2 files changed
+50
-1
lines changed- panels/dock
- package
- taskmanager/package
2 files changed
+50
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
266 | 309 | | |
267 | 310 | | |
268 | 311 | | |
| |||
561 | 604 | | |
562 | 605 | | |
563 | 606 | | |
564 | | - | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
565 | 613 | | |
566 | 614 | | |
567 | 615 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
0 commit comments