From 43ee6a174197e32000b294976206f0d369384717 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 15 Aug 2013 14:25:44 +0200 Subject: [PATCH] don't use smooth scrolling when chnging fond or resizing chr window. Fixes #7268 --- src/chat_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat_control.py b/src/chat_control.py index a726bdcd3..596f4aac1 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -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) + 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):