From cc2c35f86d21c71546601e6dc4e7ef786702269c Mon Sep 17 00:00:00 2001 From: CJ Pais Date: Sat, 2 Aug 2025 11:04:49 -0700 Subject: [PATCH] dont use overlay height for calculation of y, it moves it too far up --- src-tauri/src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/utils.rs b/src-tauri/src/utils.rs index da463b8..689dc19 100644 --- a/src-tauri/src/utils.rs +++ b/src-tauri/src/utils.rs @@ -342,7 +342,7 @@ pub fn create_recording_overlay(app_handle: &AppHandle) { // Position at bottom center of work area let x = work_area_x + (work_area_width - OVERLAY_WIDTH) / 2.0; - let y = work_area_y + work_area_height - OVERLAY_HEIGHT - OVERLAY_BOTTOM_OFFSET; + let y = work_area_y + work_area_height - OVERLAY_BOTTOM_OFFSET; match WebviewWindowBuilder::new( app_handle,