aboutsummaryrefslogtreecommitdiff
path: root/src/Text.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-05-21 08:44:23 +0200
committerdec05eba <dec05eba@protonmail.com>2018-05-21 08:44:25 +0200
commit8f275fa7ec9bf14c06cb72edb00bc9a2469d0458 (patch)
tree1b6c87ba14f08ff0337131fb539200d605368d8a /src/Text.cpp
parentf5aaf1b1cc94e28d4fa423a3d0b8ca286cf7f87d (diff)
Improve online/offline users (fade offline users, ping on channel init)
Diffstat (limited to 'src/Text.cpp')
-rw-r--r--src/Text.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text.cpp b/src/Text.cpp
index 025cb92..0e24e73 100644
--- a/src/Text.cpp
+++ b/src/Text.cpp
@@ -955,6 +955,7 @@ namespace dchat
contentByUrlResult.gif->setPosition(pos);
contentByUrlResult.gif->setScale(sf::Vector2f(size.x / (float)gifSize.x * widthToHeightRatio, size.y / (float)gifSize.y));
+ contentByUrlResult.gif->setColor(sf::Color::White);
contentByUrlResult.gif->draw(target);
break;
}
@@ -1004,6 +1005,7 @@ namespace dchat
contentByUrlResult.gif->setPosition(pos);
contentByUrlResult.gif->setScale(sf::Vector2f(imageHeight / (float)gifSize.x * widthToHeightRatio, imageHeight / (float)gifSize.y));
+ contentByUrlResult.gif->setColor(sf::Color::White);
contentByUrlResult.gif->draw(target);
break;
}