GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit 4f59bb34 authored by Michael Natterer's avatar Michael Natterer 😴

Bug 581338 - Layer size does not change using the pdb 'gimp-text-layer-resize'

Fix the fix: use box-unit, not unit, for the box extents.
parent 3bf3aa55
......@@ -1112,10 +1112,10 @@ text_layer_resize_invoker (GimpProcedure *procedure,
_("Set text layer attribute"),
"box-mode", GIMP_TEXT_BOX_FIXED,
"box-width", gimp_pixels_to_units (width,
text->unit,
text->box_unit,
xres),
"box-height", gimp_pixels_to_units (height,
text->unit,
text->box_unit,
yres),
NULL);
}
......
......@@ -1185,10 +1185,10 @@ HELP
_("Set text layer attribute"),
"box-mode", GIMP_TEXT_BOX_FIXED,
"box-width", gimp_pixels_to_units (width,
text->unit,
text->box_unit,
xres),
"box-height", gimp_pixels_to_units (height,
text->unit,
text->box_unit,
yres),
NULL);
}
......
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