diff --git a/qt/aqt/toolbar.py b/qt/aqt/toolbar.py index 32bfbd20f..b6603c637 100644 --- a/qt/aqt/toolbar.py +++ b/qt/aqt/toolbar.py @@ -202,7 +202,7 @@ class BottomWebView(ToolbarWebView): def animate_height(self, height: int) -> None: self.web_height = height - if self.mw.pm.reduce_motion(): + if self.mw.pm.reduce_motion() or height == self.height(): self.setFixedHeight(height) else: # Collapse/Expand animation