Merge pull request #1431 from SiboVG/issue-753

[Fixes #753] Update ScaleScrollPane size when rocket changes
This commit is contained in:
SiboVG 2022-06-12 12:10:46 +02:00 committed by GitHub
commit bdb862e10c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -219,6 +219,7 @@ public class RocketPanel extends JPanel implements TreeSelectionListener, Change
public void stateChanged(EventObject e) {
updateExtras();
updateFigures();
scrollPane.componentResized(null); // Triggers a resize so that when the rocket becomes smaller, the scrollPane updates its size
}
});