Merged in iced master

This commit is contained in:
Bingus 2023-02-15 14:56:15 -08:00
parent 63fb608d8b
commit 3c095aa3f0
No known key found for this signature in database
GPG key ID: 5F84D2AA40A9F170
4 changed files with 5 additions and 5 deletions

View file

@ -60,7 +60,7 @@ pub fn move_to<Message>(id: window::Id, x: i32, y: i32) -> Command<Message> {
/// Changes the [`Mode`] of the window.
pub fn change_mode<Message>(id: window::Id, mode: Mode) -> Command<Message> {
Command::single(command::Action::Window(id, window::Action::SetMode(mode)))
Command::single(command::Action::Window(id, window::Action::ChangeMode(mode)))
}
/// Fetches the current [`Mode`] of the window.