diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-10-16 02:35:49 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-10-16 02:35:49 +0200 |
commit | 8574d6c7da09f5d5929df8ff8c35cb4d82389459 (patch) | |
tree | 0ff6f173a199db293a1223a6efb3f21dc188a3ef /src/Body.cpp | |
parent | c35d035e22822515545edc2587d0d29871fad01c (diff) |
Scale roundness with dpi, use XGetDefault instead of x db
Diffstat (limited to 'src/Body.cpp')
-rw-r--r-- | src/Body.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Body.cpp b/src/Body.cpp index a8a1966..d4b6c5c 100644 --- a/src/Body.cpp +++ b/src/Body.cpp @@ -108,8 +108,8 @@ namespace QuickMedia { num_visible_items(0), top_cut_off(false), bottom_cut_off(false), - item_background(sf::Vector2f(1.0f, 1.0f), 10.0f, get_theme().selected_color, rounded_rectangle_shader), - reaction_background(sf::Vector2f(1.0f, 1.0f), 10.0f, get_theme().shade_color, rounded_rectangle_shader), + item_background(sf::Vector2f(1.0f, 1.0f), 10.0f * get_config().scale, get_theme().selected_color, rounded_rectangle_shader), + reaction_background(sf::Vector2f(1.0f, 1.0f), 10.0f * get_config().scale, get_theme().shade_color, rounded_rectangle_shader), rounded_rectangle_shader(rounded_rectangle_shader), rounded_rectangle_mask_shader(rounded_rectangle_mask_shader) { |