Fixed: Flash viewer - Shapes moving on stage

This commit is contained in:
Jindra Petřík
2021-03-31 14:45:45 +02:00
parent 63a5f573cd
commit fd8b624845
3 changed files with 2 additions and 3 deletions

View File

@@ -107,7 +107,7 @@ public abstract class MorphShapeTag extends DrawableTag {
}
}
}
RECT r = getRect();
RECT r = new RECT(getRect());
r.Xmin -= maxWidth;
r.Ymin -= maxWidth;
r.Xmax += maxWidth;

View File

@@ -151,7 +151,7 @@ public abstract class ShapeTag extends DrawableTag implements LazyObject {
}
}
RECT r = getRect();
RECT r = new RECT(getRect());
r.Xmin -= maxWidth;
r.Ymin -= maxWidth;
r.Xmax += maxWidth;