WIP: bug fix

This commit is contained in:
Matthias Koefferlein 2023-01-18 17:07:53 +01:00
parent 4edf4ab1f7
commit 500051ef1d
1 changed files with 1 additions and 1 deletions

View File

@ -1268,7 +1268,7 @@ AsIfFlatRegion::sized (coord_type dx, coord_type dy, unsigned int mode) const
// ignore empty
return new EmptyRegion ();
} else if (is_box () && mode >= 2) {
} else if (is_box () && begin ()->prop_id () == 0 && mode >= 2) {
// simplified handling for a box
db::Box b = bbox ().enlarged (db::Vector (dx, dy));