diff --git a/es-app/src/guis/GuiSettings.h b/es-app/src/guis/GuiSettings.h index d768a96b3..b526d3e9d 100644 --- a/es-app/src/guis/GuiSettings.h +++ b/es-app/src/guis/GuiSettings.h @@ -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; }