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

@@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file.
### Fixed
- [#2357] AS3 instance var/const initialization
- [#2361] Transform tool for PlaceObject tags
## [21.1.3] - 2024-10-29
### Fixed
@@ -3640,6 +3641,7 @@ Major version of SWF to XML export changed to 2.
[alpha 8]: https://github.com/jindrapetrik/jpexs-decompiler/compare/alpha7...alpha8
[alpha 7]: https://github.com/jindrapetrik/jpexs-decompiler/releases/tag/alpha7
[#2357]: https://www.free-decompiler.com/flash/issues/2357
[#2361]: https://www.free-decompiler.com/flash/issues/2361
[#2344]: https://www.free-decompiler.com/flash/issues/2344
[#2348]: https://www.free-decompiler.com/flash/issues/2348
[#2341]: https://www.free-decompiler.com/flash/issues/2341

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;