fixed messages not being layouted when scrolling
This commit is contained in:
@@ -35,6 +35,8 @@ ChatWidgetView::ChatWidgetView(ChatWidget *_chatWidget)
|
||||
this->scrollBar.getCurrentValueChanged().connect([this] {
|
||||
// Whenever the scrollbar value has been changed, re-render the ChatWidgetView
|
||||
this->update();
|
||||
|
||||
this->layoutMessages();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user