Commit eb42b42
committed
Refactor visibility handling in
- Unified position calculation and visibility logic before showing tray window.
- Adjusted delays for better cross-platform consistency.
- Improved code readability by restructuring `try-catch` blocks.TrayApp and improve delay logic1 parent e74b26b commit eb42b42
File tree
1 file changed
+8
-8
lines changed- src/commonMain/kotlin/com/kdroid/composetray/tray/api
1 file changed
+8
-8
lines changedLines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
395 | 394 | | |
396 | 395 | | |
397 | 396 | | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
| 397 | + | |
402 | 398 | | |
403 | 399 | | |
404 | 400 | | |
| |||
408 | 404 | | |
409 | 405 | | |
410 | 406 | | |
411 | | - | |
| 407 | + | |
412 | 408 | | |
413 | 409 | | |
414 | 410 | | |
| |||
481 | 477 | | |
482 | 478 | | |
483 | 479 | | |
484 | | - | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
485 | 484 | | |
486 | 485 | | |
487 | 486 | | |
| |||
490 | 489 | | |
491 | 490 | | |
492 | 491 | | |
493 | | - | |
| 492 | + | |
| 493 | + | |
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
| |||
0 commit comments