mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 09:20:47 +00:00
Fixed: Simple editor - adding a library item to the last frame adds a frame
This commit is contained in:
@@ -290,9 +290,11 @@ public class EasySwfPanel extends JPanel {
|
||||
} else {
|
||||
timelined.addTag(timelined.indexOfTag(showFrameTag), place);
|
||||
|
||||
RemoveObject2Tag remove = new RemoveObject2Tag(timelined.getSwf());
|
||||
remove.depth = newDepth;
|
||||
timelined.addTag(timelined.indexOfTag(showFrameTag) + 1, remove);
|
||||
if (fframe < timelined.getFrameCount() - 1) {
|
||||
RemoveObject2Tag remove = new RemoveObject2Tag(timelined.getSwf());
|
||||
remove.depth = newDepth;
|
||||
timelined.addTag(timelined.indexOfTag(showFrameTag) + 1, remove);
|
||||
}
|
||||
}
|
||||
|
||||
DefineBeforeUsageFixer fixer = new DefineBeforeUsageFixer();
|
||||
|
||||
Reference in New Issue
Block a user