2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Boxes redesigned. Common groups moved to Shared Media.

Also transparent images sending fixed.
This commit is contained in:
John Preston
2016-12-13 20:07:56 +03:00
parent 85b434bee4
commit 2436ad74bd
231 changed files with 4233 additions and 4235 deletions

View File

@@ -279,8 +279,9 @@ QImage prepareOpaque(QImage image) {
for (auto y = 0; y != height; ++y) {
for (auto x = 0; x != width; ++x) {
auto components = anim::shifted(*ints);
*ints = anim::unshifted(components * 256 + bg * (256 - anim::getAlpha(components)));
*ints++ = anim::unshifted(components * 256 + bg * (256 - anim::getAlpha(components)));
}
ints += addPerLine;
}
}
return std_::move(image);