mirror of
https://github.com/ankitects/anki.git
synced 2025-11-12 15:47:12 -05:00
Reduce shaking of bottom bar (#2734)
This commit is contained in:
parent
b2d515c8bb
commit
bd55149846
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue