mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
scale sat viewer when it is shown
This commit is contained in:
@@ -594,6 +594,7 @@ public class DefaultGraphDisplay implements GraphDisplay {
|
|||||||
graphDisplayProvider.setDefaultSatelliteState(selected);
|
graphDisplayProvider.setDefaultSatelliteState(selected);
|
||||||
if (selected) {
|
if (selected) {
|
||||||
viewer.getComponent().add(satelliteViewer.getComponent());
|
viewer.getComponent().add(satelliteViewer.getComponent());
|
||||||
|
satelliteViewer.scaleToLayout();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
viewer.getComponent().remove(satelliteViewer.getComponent());
|
viewer.getComponent().remove(satelliteViewer.getComponent());
|
||||||
|
|||||||
Reference in New Issue
Block a user