shell: Cleanup zoom state
This commit is contained in:
parent
4f67e89373
commit
7267c44116
1 changed files with 4 additions and 0 deletions
|
|
@ -2258,6 +2258,10 @@ impl Shell {
|
|||
{
|
||||
zoom_state.previous_level.take();
|
||||
}
|
||||
|
||||
if zoom_state.level == 1. && zoom_state.previous_level.is_none() {
|
||||
self.zoom_state.take();
|
||||
}
|
||||
}
|
||||
|
||||
self.workspaces
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue