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/Tabs.cpp | |
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/Tabs.cpp')
-rw-r--r-- | src/Tabs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Tabs.cpp b/src/Tabs.cpp index 095a62a..a5c371a 100644 --- a/src/Tabs.cpp +++ b/src/Tabs.cpp @@ -102,7 +102,7 @@ namespace QuickMedia { const int num_visible_tabs = std::min((int)tabs.size(), std::max(1, (int)(width / tab_min_width))); width_per_tab = floor(width / num_visible_tabs); - const float tab_text_y = floor(pos.y + tab_height*0.5f - tab_text_size); + const float tab_text_y = floor(pos.y + tab_height*0.5f - tab_text_size*0.7f); tab_background_width = floor(width_per_tab - tab_margin_x*2.0f); background.set_size(mgl::vec2f(tab_background_width, tab_height)); |