Add double click to zoom the window
Co-Authored-By: Antonio <me@as-cii.com>
This commit is contained in:
parent
bd54bfa4e1
commit
803d2b6710
3 changed files with 31 additions and 13 deletions
|
@ -575,6 +575,10 @@ impl<'a> WindowContext<'a> {
|
|||
self.window.active
|
||||
}
|
||||
|
||||
pub fn zoom_window(&self) {
|
||||
self.window.platform_window.zoom();
|
||||
}
|
||||
|
||||
pub fn display(&self) -> Option<Rc<dyn PlatformDisplay>> {
|
||||
self.platform
|
||||
.displays()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue