Respect object bounds when trimming labels
This commit is contained in:
@@ -131,6 +131,7 @@ function objectContentEndMm(obj) {
|
||||
if (obj.hidden) return 0;
|
||||
if (state.design.orientation === "portrait") return obj.y + obj.h;
|
||||
if (obj.type !== "text" && obj.type !== "symbol") return obj.x + obj.w;
|
||||
if (obj.manualSize) return obj.x + obj.w;
|
||||
|
||||
const { value } = objectFont(obj);
|
||||
ctx.save();
|
||||
|
||||
Reference in New Issue
Block a user