2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Improve change emoji set box design.

This commit is contained in:
John Preston
2019-01-02 16:11:13 +04:00
parent 545dbd0791
commit bb8defeb42
21 changed files with 233 additions and 105 deletions

View File

@@ -196,7 +196,7 @@ void EmojiButton::paintEvent(QPaintEvent *e) {
const auto over = isOver();
const auto loadingState = _loading
? _loading->computeState()
: Ui::InfiniteRadialAnimation::State{ 0., 0, FullArcLength };
: Ui::RadialState{ 0., 0, FullArcLength };
if (loadingState.shown < 1.) {
p.setOpacity(1. - loadingState.shown);