From 8f275fa7ec9bf14c06cb72edb00bc9a2469d0458 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 21 May 2018 08:44:23 +0200 Subject: Improve online/offline users (fade offline users, ping on channel init) --- src/Text.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Text.cpp') 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; } -- cgit v1.2.3