Skip to content

Commit

Permalink
Remove ImageSet.cpp CHATTERINO_TEST ifdefs
Browse files Browse the repository at this point in the history
This was originally required because settings were not
default-initialized before the Emojis tests were ran.

Since #4498 this is no
longer a problem.
  • Loading branch information
pajlada committed Apr 9, 2023
1 parent cd96a9f commit 231344b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/messages/ImageSet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ const ImagePtr &ImageSet::getImage3() const

const std::shared_ptr<Image> &getImagePriv(const ImageSet &set, float scale)
{
#ifndef CHATTERINO_TEST
scale *= getSettings()->emoteScale;
#endif

int quality = 1;

Expand Down

0 comments on commit 231344b

Please sign in to comment.