mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
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:
parent
141b6e8a25
commit
8f187e241a
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue