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:
nerix
2025-08-09 12:54:05 +02:00
committed by GitHub
parent 52d0c9631e
commit f77d3c59bc
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -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()