Commit 81f0d123 authored by Carol Spears's avatar Carol Spears

app/tools/gimprectangletool.c: Applied patch from Joao S. O. Bueno Calligaris

that corrects status bar coordinate display
parent ab405344
2006-02-03 Carol Spears <carol@gimp.org>
* app/tools/gimprectangletool.c: Applied patch from Joao S. O. Bueno
Calligaris that corrects status bar coordinate display
2006-02-04 DindinX <dindinx@gimp.org>
* plug-ins/common/pnm.c: untabbified and some other small
......
......@@ -1811,16 +1811,17 @@ gimp_rectangle_tool_motion (GimpTool *tool,
gimp_rectangle_tool_update_options (rectangle, gdisp);
if (function == RECT_CREATING ||
function == RECT_RESIZING_UPPER_LEFT ||
function == RECT_RESIZING_LOWER_RIGHT)
if (function != RECT_MOVING &&
function != RECT_EXECUTING)
{
gimp_tool_pop_status (tool, gdisp);
gimp_tool_push_status_coords (tool, gdisp,
_("Rectangle: "),
rx2 - rx1,
(rx2 > max_x ? max_x : rx2) -
(rx1 < min_x ? min_x : rx1),
" x ",
ry2 - ry1);
(ry2 > max_y ? max_y : ry2) -
(ry1 < min_y ? min_y : ry1));
}
if (function == RECT_CREATING)
......
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