mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-04 15:14:49 +00:00
Setting isLast on BUTTONCONDACTION
This commit is contained in:
@@ -814,6 +814,10 @@ public class TagTreeContextMenu extends JPopupMenu {
|
||||
DefineButton2Tag button = addScriptDialog.getButton();
|
||||
BUTTONCONDACTION bca = new BUTTONCONDACTION(swf, button);
|
||||
bca.condOverUpToOverDown = true; //press
|
||||
if (!button.actions.isEmpty()) {
|
||||
button.actions.get(button.actions.size() - 1).isLast = false;
|
||||
}
|
||||
bca.isLast = true;
|
||||
button.actions.add(bca);
|
||||
button.setModified(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user