mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +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()
|
std::shared_ptr<ImageComponent> MenuComponent::makeArrow()
|
||||||
{
|
{
|
||||||
auto bracket = std::make_shared<ImageComponent>();
|
auto bracket = std::make_shared<ImageComponent>();
|
||||||
|
bracket->setLinearInterpolation(true);
|
||||||
bracket->setResize(0, Font::get(FONT_SIZE_MEDIUM)->getLetterHeight());
|
bracket->setResize(0, Font::get(FONT_SIZE_MEDIUM)->getLetterHeight());
|
||||||
bracket->setImage(":/graphics/arrow.svg");
|
bracket->setImage(":/graphics/arrow.svg");
|
||||||
bracket->setColorShift(mMenuColorPrimary);
|
bracket->setColorShift(mMenuColorPrimary);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue