mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 22:30:45 +00:00
fixed ActionScript 1/2 default script/pcode split position - script was invisible on initial settings
This commit is contained in:
@@ -535,7 +535,11 @@ public class ActionPanel extends JPanel implements ActionListener {
|
||||
}
|
||||
|
||||
public void initSplits() {
|
||||
splitPane.setDividerLocation((Integer) Configuration.getConfig("gui.action.splitPane.dividerLocation", getWidth() / 2));
|
||||
int split = (Integer) Configuration.getConfig("gui.action.splitPane.dividerLocation", getWidth() / 2);
|
||||
if (split == 0) {
|
||||
split = getWidth() / 2;
|
||||
}
|
||||
splitPane.setDividerLocation(split);
|
||||
}
|
||||
|
||||
public void display() {
|
||||
|
||||
Reference in New Issue
Block a user