Improve music player slider positioning

This commit is contained in:
mars 2022-11-22 16:00:51 -07:00
parent 1453ab0c46
commit 448435eb8c
1 changed files with 2 additions and 2 deletions

View File

@ -347,8 +347,8 @@ impl MusicPlayerWidget {
let play_x = style.button_spacing * 1.5;
let next_x = style.button_spacing * 2.5;
let position_x = style.button_spacing * 3.5;
let slider_left = style.button_spacing * 4.5;
let slider_right = width - style.button_spacing * 1.75;
let slider_left = style.button_spacing * 4.25;
let slider_right = width - style.button_spacing * 1.5;
let slider_top = button_y - style.slider_height / 2.0;
let slider_bottom = button_y + style.slider_height / 2.0;
let duration_x = width - style.button_spacing * 0.75;