mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
fixed badges scaling with emote scaling slider
This commit is contained in:
parent
5497fec839
commit
0e96caad5f
1 changed files with 4 additions and 1 deletions
|
@ -121,7 +121,10 @@ void EmoteElement::addToContainer(MessageLayoutContainer &container,
|
|||
if (image->isEmpty())
|
||||
return;
|
||||
|
||||
auto emoteScale = getSettings()->emoteScale.getValue();
|
||||
auto emoteScale =
|
||||
this->getFlags().hasAny(MessageElementFlag::Badges)
|
||||
? 1
|
||||
: getSettings()->emoteScale.getValue();
|
||||
|
||||
auto size =
|
||||
QSize(int(container.getScale() * image->width() * emoteScale),
|
||||
|
|
Loading…
Reference in a new issue