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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user