summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elm_colorselector.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elm_colorselector.c b/src/lib/elm_colorselector.c
index 20915f096..5dc9f17af 100644
--- a/src/lib/elm_colorselector.c
+++ b/src/lib/elm_colorselector.c
@@ -576,9 +576,9 @@ _mouse_up_cb(void *data, int type EINA_UNUSED, void *event EINA_UNUSED)
576 ELM_SAFE_FREE(sd->grab.mouse_up, ecore_event_handler_del); 576 ELM_SAFE_FREE(sd->grab.mouse_up, ecore_event_handler_del);
577 577
578 pixels = evas_object_image_data_get(sd->picker_display, EINA_FALSE); 578 pixels = evas_object_image_data_get(sd->picker_display, EINA_FALSE);
579 r = (pixels[17 * 9 + 9] >> 16) & 0xFF; 579 r = (pixels[17 * 8 + 8] >> 16) & 0xFF;
580 g = (pixels[17 * 9 + 9] >> 8) & 0xFF; 580 g = (pixels[17 * 8 + 8] >> 8) & 0xFF;
581 b = pixels[17 * 9 + 9] & 0xFF; 581 b = pixels[17 * 8 + 8] & 0xFF;
582 582
583 _colors_set(o, r, g, b, 0xFF); 583 _colors_set(o, r, g, b, 0xFF);
584 evas_object_smart_callback_call(o, SIG_CHANGED_USER, NULL); 584 evas_object_smart_callback_call(o, SIG_CHANGED_USER, NULL);