Commit ea3ac136 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

don't use smooth scrolling when chnging fond or resizing chr window. Fixes #7268

parent e3387810
......@@ -1277,7 +1277,7 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools):
# used to stay at the end of the textview when we shrink conversation
# textview.
if self.was_at_the_end:
self.conv_textview.bring_scroll_to_end(-18, use_smooth=False)
self.was_at_the_end = (adjustment.upper - adjustment.value - adjustment.page_size) < 18
def on_conversation_vadjustment_value_changed(self, adjustment):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment