scale sat viewer when it is shown

This commit is contained in:
Tom Nelson 2020-12-09 01:28:09 +00:00
parent 54ceb189bf
commit 4c782b693e

View file

@ -594,6 +594,7 @@ public class DefaultGraphDisplay implements GraphDisplay {
graphDisplayProvider.setDefaultSatelliteState(selected);
if (selected) {
viewer.getComponent().add(satelliteViewer.getComponent());
satelliteViewer.scaleToLayout();
}
else {
viewer.getComponent().remove(satelliteViewer.getComponent());