fix: window zoom

This commit is contained in:
Jonathan Kelley committed 2022-12-30 02:09:02 -05:00
1 parent 6dfe84834d
commit 7f418bbfee
3 files changed
+9 -5

No files matched your search

+5
View File
@@ -118,6 +118,11 @@ impl DesktopContext {
}
}
/// Set the zoom level of the webview
pub fn set_zoom_level(&self, level: f64) {
self.webview.zoom(level);
}
/// opens DevTool window
pub fn devtool(&self) {
#[cfg(debug_assertions)]