Commit f95441d
committed
Title bar: Restore dblclick-to-zoom on macOS
- Replace the JS `onmousedown` → `startDragging()` handler with the `data-tauri-drag-region` attribute.
- Tauri's drag region handles drag and double-click-to-zoom natively, matching the macOS standard title bar behavior (respects System Settings → Desktop & Dock → "Double-click a window's title bar to").
- Drop the `a11y_no_static_element_interactions` Svelte warning ignore — no longer needed.1 parent dcfe439 commit f95441d
1 file changed
Lines changed: 1 addition & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | 348 | | |
362 | 349 | | |
363 | 350 | | |
| |||
617 | 604 | | |
618 | 605 | | |
619 | 606 | | |
620 | | - | |
621 | | - | |
| 607 | + | |
622 | 608 | | |
623 | 609 | | |
624 | 610 | | |
| |||
0 commit comments