Fixed: AS1/2 direct editation - Position in the code should stay same after clicking Edit button

This commit is contained in:
Jindra Petřík
2025-05-28 08:27:02 +02:00
parent 8f8cd3536d
commit d3dd8224d4
2 changed files with 2 additions and 3 deletions

View File

@@ -44,6 +44,7 @@ All notable changes to this project will be documented in this file.
- AS1/2 - Incorrect DefineFunction2 parameter names when parameter name is empty
- [#2460] SVG export - incorrect caching colorTransform and ratio for the same tag
- [#2461] SVG export - incorrect clipping / missing shapes
- AS1/2 direct editation - Position in the code should stay same after clicking Edit button
## [23.0.1] - 2025-05-16
### Fixed

View File

@@ -1204,9 +1204,7 @@ public class ActionPanel extends JPanel implements SearchListener<ScriptSearchRe
View.checkAccess();
if (src != null) {
if (val) {
setDecompiledText(src.getScriptName(), src.getExportedScriptName(), lastDecompiled.text);
} else {
if (!val) {
setDecompiledText(src.getScriptName(), src.getExportedScriptName(), lastDecompiled.text);
}
}