Changed:-

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

	Changed:-

	* app/color_picker.c

	Must account for layer offsets.
This commit is contained in:
BST 1999 Andy Thomas 1999-04-15 22:24:27 +00:00 committed by Andy Thomas
parent 141b6e8a25
commit 8f187e241a
3 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,11 @@
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

View file

@ -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,

View file

@ -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,