Skip to content

Commit

Permalink
unset window maximized before entering thumbnail mode
Browse files Browse the repository at this point in the history
  • Loading branch information
GyulyVGC committed Apr 6, 2024
1 parent dbe0bad commit 90155ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/types/sniffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ impl Sniffer {
let position = self.configs.lock().unwrap().window.thumbnail_position;
self.timing_events.thumbnail_enter_now();
Command::batch([
window::maximize(Id::MAIN, false),
window::resize(Id::MAIN, size),
window::toggle_decorations(Id::MAIN),
window::move_to(Id::MAIN, position.to_point()),
Expand Down

0 comments on commit 90155ff

Please sign in to comment.