Skip to content

Commit

Permalink
Fix #389
Browse files Browse the repository at this point in the history
  • Loading branch information
DMagic1 committed Sep 9, 2020
1 parent 59c271a commit c79b5b1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions SCANsat/SCAN_Unity/SCAN_UI_Overlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -686,8 +686,11 @@ private void setBody(CelestialBody B)
double eqDistancePerDegree = circum / 360;
degreeOffset = 5 / eqDistancePerDegree;

Close();
Open();
if (_isVisible)
{
Close();
Open();
}
}

private void removeOverlay(bool immediate = false)
Expand Down

0 comments on commit c79b5b1

Please sign in to comment.