Forbid downscaling rich_button icon

This commit is contained in:
Nikita Lisitsa 2021-07-17 17:43:32 +03:00
parent 7865297995
commit 63ef539303

View file

@ -34,7 +34,11 @@ namespace psemek::ui
icon_ = std::move(icon);
children_[0] = icon_.get();
if (icon_) icon_->set_parent(this);
if (icon_)
{
icon_->set_parent(this);
icon_->set_downscale(false);
}
}
}