mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
fix: Add check for tall messages (#5045)
This commit is contained in:
parent
9612eac966
commit
d0d240136e
|
@ -99,7 +99,7 @@
|
|||
- Dev: BREAKING: Replace custom `import()` with normal Lua `require()`. (#5014)
|
||||
- Dev: Fixed most compiler warnings. (#5028)
|
||||
- Dev: Added the ability to show `ChannelView`s without a `Split`. (#4747)
|
||||
- Dev: Channels without any animated elements on screen will skip updates from the GIF timer. (#5042, #5043)
|
||||
- Dev: Channels without any animated elements on screen will skip updates from the GIF timer. (#5042, #5043, #5045)
|
||||
|
||||
## 2.4.6
|
||||
|
||||
|
|
|
@ -1501,7 +1501,9 @@ void ChannelView::drawMessages(QPainter &painter, const QRect &area)
|
|||
ctx.isLastReadMessage = false;
|
||||
}
|
||||
|
||||
if (areaContainsY(ctx.y) || areaContainsY(ctx.y + layout->getHeight()))
|
||||
if (areaContainsY(ctx.y) ||
|
||||
areaContainsY(ctx.y + layout->getHeight()) ||
|
||||
(ctx.y < area.y() && layout->getHeight() > area.height()))
|
||||
{
|
||||
auto paintResult = layout->paint(ctx);
|
||||
if (paintResult.hasAnimatedElements)
|
||||
|
|
Loading…
Reference in a new issue