Reduce shaking of bottom bar (#2734)

This commit is contained in:
Abdo 2023-10-15 03:06:28 +03:00 committed by GitHub
parent 3b4fd4eb77
commit 8b5204ef88

View file

@ -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