mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 09:49:23 +02:00
scale sat viewer when it is shown
This commit is contained in:
parent
54ceb189bf
commit
4c782b693e
1 changed files with 1 additions and 0 deletions
|
@ -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());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue