Commit graph

6 commits

Author SHA1 Message Date
John Preston
ebe331a7e4 Fix build on Windows. 2024-03-24 10:24:26 +04:00
23rd
5e11c43f84 Moved out Stickers::EmojiImageLoader to td_ui. 2024-03-24 07:01:08 +03:00
23rd
6258aa01b8 Replaced multiple static constants for square root of 2 with Qt define. 2023-01-21 19:40:33 +03:00
John Preston
19ce1edc16 Use base::SafeRound instead of std::round.
Previous assertion violations because of NaN from std::round were
in video streaming, see commits 27d58ba07b, 8f5830d520.

Now the crashes happened in the ConvertScale() call from a background
thread when preparing an image from clipboard for sending to a chat.
2021-09-27 12:13:57 +04:00
John Preston
ae298818a8 Implement message bar with animations. 2020-10-30 18:32:17 +03:00
John Preston
51c2bc7349 Create only one EmojiImageLoader to fix a crash. 2020-06-23 21:53:43 +04:00