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:
@@ -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: 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: 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 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 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)
|
- Bugfix: Fixed a crash that could occur when making HTTP requests from a timeout handler. (#6375)
|
||||||
- Dev: Mini refactor of Split. (#6148)
|
- Dev: Mini refactor of Split. (#6148)
|
||||||
|
|||||||
@@ -604,9 +604,9 @@ void ChannelView::themeChangedEvent()
|
|||||||
BaseWidget::themeChangedEvent();
|
BaseWidget::themeChangedEvent();
|
||||||
|
|
||||||
this->setupHighlightAnimationColors();
|
this->setupHighlightAnimationColors();
|
||||||
this->queueLayout();
|
|
||||||
this->messageColors_.applyTheme(getTheme(), this->isOverlay_,
|
this->messageColors_.applyTheme(getTheme(), this->isOverlay_,
|
||||||
getSettings()->overlayBackgroundOpacity);
|
getSettings()->overlayBackgroundOpacity);
|
||||||
|
this->invalidateBuffers();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ChannelView::updateColorTheme()
|
void ChannelView::updateColorTheme()
|
||||||
@@ -659,6 +659,7 @@ void ChannelView::invalidateBuffers()
|
|||||||
{
|
{
|
||||||
this->bufferInvalidationQueued_ = true;
|
this->bufferInvalidationQueued_ = true;
|
||||||
this->queueLayout();
|
this->queueLayout();
|
||||||
|
this->update();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ChannelView::queueLayout()
|
void ChannelView::queueLayout()
|
||||||
|
|||||||
Reference in New Issue
Block a user