From f88f7ced7057aea628d3b728015f6243853d2e76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Sat, 31 May 2025 11:53:39 +0200 Subject: [PATCH] Added: AS1/2 direct editation - hide P-code panel when editing --- CHANGELOG.md | 1 + .../flash/gui/action/ActionPanel.java | 19 +++++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d828bdfff..82f34163c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ All notable changes to this project will be documented in this file. (also in edit mode) - AS1/2/3 - underline errors in the code (also in edit mode) - AS1/2/3 - highlight variables and errors on panel next to vertical scrollbar +- AS1/2 direct editation - hide P-code panel when editing ### Changed - AS1/2 - Single DoAction tag inside frame is now displayed directly as frame node diff --git a/src/com/jpexs/decompiler/flash/gui/action/ActionPanel.java b/src/com/jpexs/decompiler/flash/gui/action/ActionPanel.java index 0a428e6ef..035d67de0 100644 --- a/src/com/jpexs/decompiler/flash/gui/action/ActionPanel.java +++ b/src/com/jpexs/decompiler/flash/gui/action/ActionPanel.java @@ -195,8 +195,10 @@ public class ActionPanel extends JPanel implements SearchListener scriptListeners = new ArrayList<>(); - + private boolean scriptLoaded = true; + + private JPanel pcodePanel; public synchronized boolean isScriptLoaded() { return scriptLoaded; @@ -879,12 +881,12 @@ public class ActionPanel extends JPanel implements SearchListener