Fixed: #2361 Transform tool for PlaceObject tags

This commit is contained in:
Jindra Petřík
2024-11-02 00:34:43 +01:00
parent b4ba937c69
commit 21499d27e5
2 changed files with 4 additions and 1 deletions

View File

@@ -2249,7 +2249,8 @@ public class PreviewPanel extends JPersistentSplitPane implements TagEditorPanel
if (displayEditTag instanceof PlaceObjectTypeTag) {
PlaceObjectTypeTag placeTag = (PlaceObjectTypeTag) displayEditTag;
placeTag.setPlaceFlagHasMatrix(true);
placeTag.setMatrix(matrix.toMATRIX());
Matrix origMatrix = new Matrix(placeTag.getMatrix());
placeTag.setMatrix(matrix.concatenate(origMatrix).toMATRIX());
}
if (displayEditTag instanceof ShapeTag) {
ShapeTag shape = (ShapeTag) displayEditTag;