Reduce shaking of bottom bar (#2734)
This commit is contained in:
parent
b2d515c8bb
commit
bd55149846
@ -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 New Issue
Block a user