fix overlay titlebar height mismatch (22→24px) so close button receives clicks, re-sync ratio on resize

This commit is contained in:
2026-05-29 16:32:39 +03:00
parent f1e5c5f3db
commit e150314a43
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -775,7 +775,7 @@ pub struct ExportResult {
}
const OVERLAY_BORDER_LOGICAL_PX: f64 = 4.0;
const OVERLAY_TITLEBAR_LOGICAL_PX: f64 = 22.0;
const OVERLAY_TITLEBAR_LOGICAL_PX: f64 = 24.0;
fn start_overlay_clickthrough_poll(app: AppHandle, shutdown: Arc<AtomicBool>) {