diff --git a/CHANGELOG.md b/CHANGELOG.md index 6062f912b..7d57304d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file. - [#1130], [#1220] Remembering last used screen (monitor), opening dialogs on same screen as the main window, do not restore window size to larger value that actual screen size +- [#1717] AS1/2/3 Option to hide P-code panel ### Fixed - [#1306], [#1768] Maximizing window on other than main monitor @@ -3191,6 +3192,7 @@ Major version of SWF to XML export changed to 2. [alpha 7]: https://github.com/jindrapetrik/jpexs-decompiler/releases/tag/alpha7 [#1130]: https://www.free-decompiler.com/flash/issues/1130 [#1220]: https://www.free-decompiler.com/flash/issues/1220 +[#1717]: https://www.free-decompiler.com/flash/issues/1717 [#1306]: https://www.free-decompiler.com/flash/issues/1306 [#1768]: https://www.free-decompiler.com/flash/issues/1768 [#2099]: https://www.free-decompiler.com/flash/issues/2099 diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/configuration/Configuration.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/configuration/Configuration.java index 977d15664..17f387619 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/configuration/Configuration.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/configuration/Configuration.java @@ -960,6 +960,14 @@ public final class Configuration { @ConfigurationInternal public static ConfigurationItem lastMainWindowScreenHeight = null; + @ConfigurationDefaultBoolean(true) + @ConfigurationCategory("ui") + public static ConfigurationItem displayAs12PCodePanel = null; + + @ConfigurationDefaultBoolean(true) + @ConfigurationCategory("ui") + public static ConfigurationItem displayAs3PCodePanel = null; + private enum OSId { WINDOWS, OSX, UNIX } diff --git a/src/com/jpexs/decompiler/flash/gui/abc/ABCPanel.java b/src/com/jpexs/decompiler/flash/gui/abc/ABCPanel.java index c73f42a3d..8d3172463 100644 --- a/src/com/jpexs/decompiler/flash/gui/abc/ABCPanel.java +++ b/src/com/jpexs/decompiler/flash/gui/abc/ABCPanel.java @@ -1080,9 +1080,7 @@ public class ABCPanel extends JPanel implements ItemListener, SearchListener