[#753] Update ScaleScrollPane size when rocket changes

This commit is contained in:
SiboVG 2022-06-12 00:22:11 +02:00
parent 702f653864
commit ee98267e08

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
}
});