Skip to content

armgit / Handy

Public Imported from GitHub
0

A free, open source, and extensible speech-to-text application that works completely offline.

dont use overlay height for calculation of y, it moves it too far up

CJ Paiscc2c35f86d21
diff --git a/src-tauri/src/utils.rs b/src-tauri/src/utils.rs
index da463b83..689dc198 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,