aboutsummaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-06-16 14:43:20 +0200
committerdec05eba <dec05eba@protonmail.com>2022-06-16 15:09:30 +0200
commitad2685624cf233456623c5fa34083412df53873c (patch)
tree370acf204f01a9a6d877345b5f41977a8edd8441 /src/gui
parente471a1f93ee23f0f729d64068504cb892481b56f (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.cpp2
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);