fix: window zoom
This commit is contained in:
1 parent
6dfe84834d
commit
7f418bbfee
3 files changed
+9
-5
No files matched your search
@@ -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)]
|
||||
|
||||
Reference in new issue
Block a user