fix: do full update on invalidation and theme change (#6373)
* fix: update on invalidation and theme change * changelog --------- Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -604,9 +604,9 @@ void ChannelView::themeChangedEvent()
|
||||
BaseWidget::themeChangedEvent();
|
||||
|
||||
this->setupHighlightAnimationColors();
|
||||
this->queueLayout();
|
||||
this->messageColors_.applyTheme(getTheme(), this->isOverlay_,
|
||||
getSettings()->overlayBackgroundOpacity);
|
||||
this->invalidateBuffers();
|
||||
}
|
||||
|
||||
void ChannelView::updateColorTheme()
|
||||
@@ -659,6 +659,7 @@ void ChannelView::invalidateBuffers()
|
||||
{
|
||||
this->bufferInvalidationQueued_ = true;
|
||||
this->queueLayout();
|
||||
this->update();
|
||||
}
|
||||
|
||||
void ChannelView::queueLayout()
|
||||
|
||||
Reference in New Issue
Block a user