fix: zoom using CSS + cleanup
This commit is contained in:
@@ -418,11 +418,6 @@ async fn unbind_face(uuid: String, face_id: String, file_uuid: String) -> Result
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[tauri::command(rename_all = "camelCase")]
|
||||
async fn set_zoom(window: tauri::WebviewWindow, zoom_factor: f64) -> Result<(), String> {
|
||||
window.set_zoom(zoom_factor).map_err(|e| e.to_string())
|
||||
}
|
||||
|
||||
fn main() {
|
||||
tauri::Builder::default()
|
||||
.plugin(tauri_plugin_shell::init())
|
||||
@@ -442,8 +437,7 @@ fn main() {
|
||||
get_face_candidates,
|
||||
merge_identities,
|
||||
bind_face,
|
||||
unbind_face,
|
||||
set_zoom
|
||||
unbind_face
|
||||
])
|
||||
.run(tauri::generate_context!())
|
||||
.expect("error while running tauri application");
|
||||
|
||||
Reference in New Issue
Block a user