Fixed a minor rounding issue which sometimes led to a slight positioning error for the menu scroll indicators.

This commit is contained in:
Leon Styhre 2022-05-21 19:59:05 +02:00
parent c1fe919e4d
commit 67023f428b

View file

@ -42,7 +42,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(glm::round(position)); }
void setMenuPosition(glm::vec3 position) { mMenu.setPosition(position); }
void setNeedsSaving(bool state = true) { mNeedsSaving = state; }
void setNeedsReloadHelpPrompts() { mNeedsReloadHelpPrompts = true; }