diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-06-16 14:43:20 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-06-16 15:09:30 +0200 |
commit | ad2685624cf233456623c5fa34083412df53873c (patch) | |
tree | 370acf204f01a9a6d877345b5f41977a8edd8441 /src/gui | |
parent | e471a1f93ee23f0f729d64068504cb892481b56f (diff) |
Soundcloud: fix title and download link not updating when changing video, fix text y offset after mgl update
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); |