Fixed multiple single-pixel menu alignment issues at lower resolutions.

This commit is contained in:
Leon Styhre 2021-11-08 19:02:46 +01:00
parent d3b135e387
commit b89df021b1

View file

@ -40,7 +40,7 @@ public:
glm::vec2 getMenuSize() { return mMenu.getSize(); }
void setMenuSize(glm::vec2 size) { mMenu.setSize(size); }
glm::vec3 getMenuPosition() { return mMenu.getPosition(); }
void setMenuPosition(glm::vec3 position) { mMenu.setPosition(position); }
void setMenuPosition(glm::vec3 position) { mMenu.setPosition(glm::round(position)); }
void setNeedsSaving(bool state = true) { mNeedsSaving = state; }
void setNeedsReloadHelpPrompts() { mNeedsReloadHelpPrompts = true; }