diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/Button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/Button.cpp b/src/gui/Button.cpp index bf9c174..bf74b8d 100644 --- a/src/gui/Button.cpp +++ b/src/gui/Button.cpp @@ -62,7 +62,7 @@ namespace QuickMedia { background.set_position(pos); const auto label_bounds = label.get_bounds(); - mgl::vec2f label_pos(pos + background.get_size() * 0.5f - label_bounds.size * 0.5f - mgl::vec2f(0.0f, 5.0f * scale)); + mgl::vec2f label_pos(pos + background.get_size() * 0.5f - label_bounds.size * 0.5f - mgl::vec2f(0.0f, 1.0f * scale)); label_pos.x = floor(label_pos.x); label_pos.y = floor(label_pos.y); label.set_position(label_pos); |