mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-03-06 14:27:43 +00:00
Fixed an issue where the menu arrows were not always scaled cleanly
This commit is contained in:
parent
ee2573345f
commit
a3b49b87b0
|
@ -193,6 +193,7 @@ std::shared_ptr<ComponentGrid> MenuComponent::makeButtonGrid(
|
|||
std::shared_ptr<ImageComponent> MenuComponent::makeArrow()
|
||||
{
|
||||
auto bracket = std::make_shared<ImageComponent>();
|
||||
bracket->setLinearInterpolation(true);
|
||||
bracket->setResize(0, Font::get(FONT_SIZE_MEDIUM)->getLetterHeight());
|
||||
bracket->setImage(":/graphics/arrow.svg");
|
||||
bracket->setColorShift(mMenuColorPrimary);
|
||||
|
|
Loading…
Reference in a new issue