Skip to content

Commit

Permalink
Disable linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacksore committed Sep 1, 2024
1 parent d798e62 commit 31895b3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/desktop/src-tauri/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ pub fn zoom_window(window: tauri::Window, scale_factor: f64) {
let _ = window.with_webview(move |webview| {
#[cfg(target_os = "linux")]
{
use webkit2gtk::auto::web_view::WebViewExt;
webview.inner().set_zoom_level(scale_factor);
// TODO: implement zoom for linux
// use webkit2gtk::auto::web_view::WebViewExt;
// webview.inner().set_zoom_level(scale_factor);
}

#[cfg(windows)]
Expand Down

0 comments on commit 31895b3

Please sign in to comment.