mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
Changed the position of the per-game alternative emulator selector window.
This commit is contained in:
parent
aa8b68f2a9
commit
4c556fc820
|
@ -306,13 +306,8 @@ GuiMetaDataEd::GuiMetaDataEd(Window* window,
|
|||
static_cast<float>(Renderer::getScreenWidth()) * maxWidthModifier;
|
||||
|
||||
s->setMenuSize(glm::vec2{maxWidth, s->getMenuSize().y});
|
||||
|
||||
auto menuSize = s->getMenuSize();
|
||||
auto menuPos = s->getMenuPosition();
|
||||
|
||||
s->setMenuPosition(glm::vec3{(s->getSize().x - menuSize.x) / 2.0f,
|
||||
(s->getSize().y - menuSize.y) / 3.0f,
|
||||
menuPos.z});
|
||||
s->setMenuPosition(glm::vec3{(s->getSize().x - maxWidth) / 2.0f,
|
||||
mPosition.y, mPosition.z});
|
||||
mWindow->pushGui(s);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue