mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 23:15:59 +00:00
Scale reactions on mouse over.
This commit is contained in:
@@ -292,7 +292,6 @@ void RenameBox(not_null<Ui::GenericBox*> box) {
|
||||
return std::make_unique<Lottie::Icon>(Lottie::IconDescriptor{
|
||||
.path = u":/icons/settings/devices/"_q + path + u".lottie"_q,
|
||||
.sizeOverride = QSize(size, size),
|
||||
.frame = 1,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -358,7 +357,7 @@ void RenameBox(not_null<Ui::GenericBox*> box) {
|
||||
state->lottie->animate(
|
||||
[=] { result->update(); },
|
||||
0,
|
||||
state->lottie->framesCount());
|
||||
state->lottie->framesCount() - 1);
|
||||
}, result->lifetime());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user