2
0
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:
John Preston
2022-01-06 14:16:14 +03:00
parent 508ba4750c
commit 7f27ce6dee
5 changed files with 78 additions and 26 deletions

View File

@@ -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());
}