fixed emote preview not using 3x images

This commit is contained in:
fourtf
2019-08-21 01:44:19 +02:00
parent 67aadfe61f
commit dbc20baa65
5 changed files with 53 additions and 30 deletions
+3
View File
@@ -19,6 +19,9 @@ public:
const ImagePtr &getImage2() const;
const ImagePtr &getImage3() const;
/// Preferes getting an already loaded image, even if it is smaller/bigger.
/// However, it starts loading the proper image.
const ImagePtr &getImageOrLoaded(float scale) const;
const ImagePtr &getImage(float scale) const;
bool operator==(const ImageSet &other) const;