Fix window drag and add double click to maximize in gallery view

This commit is contained in:
Jeremy Soller 2024-09-23 16:05:43 -06:00
parent 7b2e448947
commit c711704947
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
3 changed files with 14 additions and 1 deletions

View file

@ -2403,6 +2403,9 @@ impl Application for App {
tab::Command::WindowDrag => {
commands.push(window::drag(self.main_window_id()));
}
tab::Command::WindowToggleMaximize => {
commands.push(window::toggle_maximize(self.main_window_id()));
}
}
}
return Command::batch(commands);