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
+1
View File
@@ -55,6 +55,7 @@
- Bugfix: Fixed invalid commands from being forwarded to Helix, making it possible for information to leak (e.g. if you typed `/bann username ban reason` it would be seen by others in chat as `username ban reason`). (#6272, #6330)
- Bugfix: Emotes that failed to load their images now show as text. (#6355)
- Bugfix: Fixed a crash that occurs when searching for emotes in channel-less contexts. (#6357)
- Bugfix: Fixed theme changes not instantly applying to messages. (#6373)
- Bugfix: Fixed command triggers showing as '/...' when the value is longer than the column width. (#6369)
- Bugfix: Fixed a crash that could occur when making HTTP requests from a timeout handler. (#6375)
- Dev: Mini refactor of Split. (#6148)
+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()