last minor fix for the colour screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15456 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
eb20149804
commit
4ada9ed2d9
1 changed files with 2 additions and 1 deletions
|
@ -380,7 +380,8 @@ int touchpad_slider(struct rgb_pick *rgb, int *selected_slider)
|
||||||
}
|
}
|
||||||
if (pressed_slider != *selected_slider)
|
if (pressed_slider != *selected_slider)
|
||||||
*selected_slider = pressed_slider;
|
*selected_slider = pressed_slider;
|
||||||
//if (pressed_slider == *selected_slider)
|
if (x < slider_left+slider_width &&
|
||||||
|
x > slider_left)
|
||||||
{
|
{
|
||||||
x -= slider_left;
|
x -= slider_left;
|
||||||
rgb->rgb_val[pressed_slider] =
|
rgb->rgb_val[pressed_slider] =
|
||||||
|
|
Loading…
Reference in a new issue