Commit b0cd835d authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

resize the cursor label if the shrink_wrap flag is set. Closes #21936.

2000-10-02  Michael Natterer  <mitch@gimp.org>

	* app/undo.c: resize the cursor label if the shrink_wrap flag is
	set. Closes #21936.
parent 4eeb8759
2000-10-02 Michael Natterer <mitch@gimp.org>
* app/undo.c: resize the cursor label if the shrink_wrap flag is
set. Closes #21936.
2000-10-01 Michael Natterer <mitch@gimp.org>
* app/gimpbrush.c
......
......@@ -467,6 +467,7 @@ pop_stack (GImage *gimage,
/* If the shrink_wrap flag was set */
if (shrink_wrap)
{
gdisplays_resize_cursor_label (gimage);
gdisplays_shrink_wrap (gimage);
shrink_wrap = FALSE;
}
......@@ -2499,11 +2500,10 @@ undo_pop_resolution (GImage *gimage,
tmpunit = gimage->unit;
gimage->unit = data->unit;
data->unit = tmpunit;
gdisplays_resize_cursor_label (gimage);
}
/* really just want to recalc size and repaint */
gdisplays_shrink_wrap (gimage);
shrink_wrap = TRUE;
return TRUE;
}
......
......@@ -467,6 +467,7 @@ pop_stack (GImage *gimage,
/* If the shrink_wrap flag was set */
if (shrink_wrap)
{
gdisplays_resize_cursor_label (gimage);
gdisplays_shrink_wrap (gimage);
shrink_wrap = FALSE;
}
......@@ -2499,11 +2500,10 @@ undo_pop_resolution (GImage *gimage,
tmpunit = gimage->unit;
gimage->unit = data->unit;
data->unit = tmpunit;
gdisplays_resize_cursor_label (gimage);
}
/* really just want to recalc size and repaint */
gdisplays_shrink_wrap (gimage);
shrink_wrap = TRUE;
return TRUE;
}
......
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