mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Removed repeated animation from some settings lottie icons.
This commit is contained in:
@@ -604,13 +604,17 @@ QPointer<Ui::RpWidget> Folders::createPinnedToTop(not_null<QWidget*> parent) {
|
||||
const auto divider = Ui::CreateChild<Ui::BoxContentDivider>(parent.get());
|
||||
const auto verticalLayout = Ui::CreateChild<Ui::VerticalLayout>(divider);
|
||||
|
||||
auto icon = CreateLottieIcon(this, {
|
||||
.name = u"filters"_q,
|
||||
.sizeOverride = {
|
||||
st::settingsFilterIconSize,
|
||||
st::settingsFilterIconSize,
|
||||
auto icon = CreateLottieIcon(
|
||||
this,
|
||||
{
|
||||
.name = u"filters"_q,
|
||||
.sizeOverride = {
|
||||
st::settingsFilterIconSize,
|
||||
st::settingsFilterIconSize,
|
||||
},
|
||||
},
|
||||
}, st::settingsFilterIconPadding);
|
||||
st::settingsFilterIconPadding,
|
||||
true);
|
||||
_showFinished.events(
|
||||
) | rpl::start_with_next([animate = std::move(icon.animate)] {
|
||||
animate();
|
||||
|
Reference in New Issue
Block a user