From 4ada9ed2d9f4e1161ed2a9f8937d1e42e90d23df Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 4 Nov 2007 10:57:06 +0000 Subject: [PATCH] last minor fix for the colour screen git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15456 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/color_picker.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/gui/color_picker.c b/apps/gui/color_picker.c index 6dc33a22d9..b883349620 100644 --- a/apps/gui/color_picker.c +++ b/apps/gui/color_picker.c @@ -380,7 +380,8 @@ int touchpad_slider(struct rgb_pick *rgb, int *selected_slider) } 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] =