feat: Add window minimize support
This commit is contained in:
parent
8a50836ffc
commit
ac6e137be3
3 changed files with 12 additions and 0 deletions
|
|
@ -627,6 +627,9 @@ pub fn run_command<A, E>(
|
|||
window::Action::Maximize(value) => {
|
||||
window.set_maximized(value);
|
||||
}
|
||||
window::Action::Minimize(value) => {
|
||||
window.set_minimized(value);
|
||||
}
|
||||
window::Action::Move { x, y } => {
|
||||
window.set_outer_position(winit::dpi::LogicalPosition {
|
||||
x,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue