mirror of https://github.com/mpv-player/mpv
Here should add the minb to x when x>=0 because in later code
we use 'x - minb' to draw bg box when x>=0. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25449 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
cccac8fa2a
commit
007988abf8
|
@ -68,7 +68,7 @@ void menu_list_draw(menu_t* menu,mp_image_t* mpi) {
|
|||
count++;
|
||||
}
|
||||
if(need_w > dw) need_w = dw;
|
||||
if(x > 0)
|
||||
if(x >= 0)
|
||||
x += mpriv->minb;
|
||||
if(y > 0)
|
||||
y += mpriv->minb;
|
||||
|
|
Loading…
Reference in New Issue