last minor fix for the colour screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15456 a1c6a512-1295-4272-9138-f99709370657
diff --git a/apps/gui/color_picker.c b/apps/gui/color_picker.c
index 6dc33a2..b8833496 100644
--- a/apps/gui/color_picker.c
+++ b/apps/gui/color_picker.c
@@ -380,7 +380,8 @@
}
if (pressed_slider != *selected_slider)
*selected_slider = pressed_slider;
- //if (pressed_slider == *selected_slider)
+ if (x < slider_left+slider_width &&
+ x > slider_left)
{
x -= slider_left;
rgb->rgb_val[pressed_slider] =