fix(panel): enlarge drag surface to the header block

The 18x28 grip was too small. Wrap the grip, icon, title and language subtitle in a 44 pt-high native performDrag area; the SwiftUI content is hit-testing-disabled so the whole left header block starts a window drag. Make the grip a visible 24x32 capsule with an open-hand cursor and a localized tooltip.

Verified: make verify green; a synthetic drag starting on the title area moved the panel by the full delta, and the panel screenshot confirms the larger grip and 17 pt translation text.
This commit is contained in:
schihei committed 2026-11-26 14:42:58 +01:00
1 parent 40733473c5
commit f466e6dd1c
5 files changed
+26 -19

No files matched your search

@@ -11,6 +11,7 @@
"Quit Sprachmittler" = "Sprachmittler beenden";
"Translate" = "Übersetzen";
"Move panel" = "Panel verschieben";
"Drag to move panel" = "Zum Verschieben ziehen";
"Translation text size" = "Schriftgröße der Übersetzung";
"Source" = "Quelle";
"Settings" = "Einstellungen";