diff options
Diffstat (limited to 'include/gui/Button.hpp')
-rw-r--r-- | include/gui/Button.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gui/Button.hpp b/include/gui/Button.hpp index 88399ae..c9a933b 100644 --- a/include/gui/Button.hpp +++ b/include/gui/Button.hpp @@ -16,7 +16,7 @@ namespace gsr { bool on_event(mgl::Event &event, mgl::Window &window, mgl::vec2f offset) override; void draw(mgl::Window &window, mgl::vec2f offset) override; - mgl::vec2f get_size() const { return size; } + mgl::vec2f get_size() override { return size; } std::function<void()> on_click; private: |