Commit 4da3085
committed
Fix window drag without breaking title bar buttons
Use ui.interact() with a drag rect that excludes the right 90px
where the close/minimize buttons live. This way dragging works on
the logo/title area while buttons remain fully clickable.1 parent 326c156 commit 4da3085
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
581 | | - | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
582 | 589 | | |
583 | 590 | | |
584 | 591 | | |
| |||
0 commit comments