Fixed IllegalArgumentException: JSplitPane weight must be between 0 and 1

This commit is contained in:
Jindra Petřík
2023-02-25 15:34:21 +01:00
parent 76eff8b53c
commit de02aa86f6
2 changed files with 2 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ All notable changes to this project will be documented in this file.
- [#1974] DefineBits image reading problem
- [#1963] AS2 properly decompile/direct edit long classes
- [#1977] AS3 Find usages - class and function usages, various fixes
- IllegalArgumentException: JSplitPane weight must be between 0 and 1
## [18.3.5] - 2023-02-12
### Added

View File

@@ -1653,7 +1653,7 @@ public class PreviewPanel extends JPersistentSplitPane implements TagEditorPanel
public void showDisplayEditTagPanel(Tag tag, int frame) {
showCardLeft(DISPLAYEDIT_TAG_CARD);
displayEditTag = tag;
displayEditSplitPane.setDividerLocation((int) (0.6 * this.getWidth()));
displayEditSplitPane.setDividerLocation(0.6);
displayEditGenericPanel.setVisible(!readOnly);
if (Configuration.editorMode.get()) {