Skip to content

Commit

Permalink
Apply screen scale to DSO outlines too
Browse files Browse the repository at this point in the history
  • Loading branch information
10110111 committed Jan 11, 2025
1 parent 010c3fb commit 6a793f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/modules/Nebula.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,7 @@ void Nebula::drawOutlines(StelPainter &sPainter, float maxMagHints) const
float oLim = getVisibilityLevelByMagnitude() - 3.f;

sPainter.setColor(getHintColor(nType), hintsBrightness);
sPainter.setLineWidth(1.f * screenScale(*sPainter.getProjector()));

StelCore *core=StelApp::getInstance().getCore();
Vec3d vel=core->getCurrentPlanet()->getHeliocentricEclipticVelocity();
Expand Down

0 comments on commit 6a793f6

Please sign in to comment.