Commit 8f187e24 authored by BST 1999 Andy Thomas's avatar BST 1999 Andy Thomas Committed by Andy Thomas
Browse files

Changed:-

Thu Apr 15 23:04:17 BST 1999 Andy Thomas <alt@gimp.org>

	Changed:-

	* app/color_picker.c

	Must account for layer offsets.
parent 141b6e8a
Thu Apr 15 23:04:17 BST 1999 Andy Thomas <alt@gimp.org>
Changed:-
* app/color_picker.c
Must account for layer offsets.
Thu Apr 15 14:41:01 PDT 1999 Manish Singh <yosh@gimp.org>
* applied gimp-lecorfec-99041[02]-0, changes follow
......
......@@ -349,8 +349,7 @@ color_picker_motion (Tool *tool,
/* First, transform the coordinates to gimp image space */
gdisplay_untransform_coords (gdisp, mevent->x, mevent->y, &x, &y, FALSE, FALSE);
cp_tool->centerx = x;
cp_tool->centery = y;
gdisplay_untransform_coords (gdisp, mevent->x, mevent->y, &cp_tool->centerx, &cp_tool->centery, FALSE, TRUE);
color_picker_info_update (tool, get_color (gdisp->gimage, active_drawable, x, y,
color_picker_options->sample_merged,
......
......@@ -349,8 +349,7 @@ color_picker_motion (Tool *tool,
/* First, transform the coordinates to gimp image space */
gdisplay_untransform_coords (gdisp, mevent->x, mevent->y, &x, &y, FALSE, FALSE);
cp_tool->centerx = x;
cp_tool->centery = y;
gdisplay_untransform_coords (gdisp, mevent->x, mevent->y, &cp_tool->centerx, &cp_tool->centery, FALSE, TRUE);
color_picker_info_update (tool, get_color (gdisp->gimage, active_drawable, x, y,
color_picker_options->sample_merged,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment