chore: add transparency and overlay
This commit is contained in:
1 parent
4955cfc940
commit
d3ab397ad3
3 files changed
+51
-20
No files matched your search
@@ -96,7 +96,9 @@ impl DesktopContext {
|
||||
let window = self.webview.window();
|
||||
|
||||
// if the drag_window has any errors, we don't do anything
|
||||
window.fullscreen().is_none().then(|| window.drag_window());
|
||||
if window.fullscreen().is_none() {
|
||||
window.drag_window().unwrap();
|
||||
}
|
||||
}
|
||||
|
||||
/// Toggle whether the window is maximized or not
|
||||
|
||||
Reference in new issue
Block a user