Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
media-keys: Tweak the OSD's volume bar position
Move it down a little.

Signed-off-by: Zhang Xianwei <zhang.xianwei8@zte.com.cn>
  • Loading branch information
zhangxianwei8 authored and lukefromdc committed Nov 26, 2018
1 parent f5ae497 commit e7222d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/media-keys/msd-media-keys-window.c
Expand Up @@ -490,9 +490,9 @@ draw_action_volume (MsdMediaKeysWindow *window,
volume_box_height = round (window_height * 0.05);

icon_box_x0 = (window_width - icon_box_width) / 2;
icon_box_y0 = (window_height - icon_box_height - volume_box_height) / 2;
icon_box_y0 = (window_height - icon_box_height) / 2;
volume_box_x0 = round (icon_box_x0);
volume_box_y0 = round (icon_box_height + icon_box_y0);
volume_box_y0 = round (window_height - icon_box_y0 / 2 - volume_box_height);

#if 0
g_message ("icon box: w=%f h=%f _x0=%f _y0=%f",
Expand Down

0 comments on commit e7222d9

Please sign in to comment.