Skip to content

Commit

Permalink
Restore DSO label placement.
Browse files Browse the repository at this point in the history
  • Loading branch information
gzotti committed May 19, 2018
1 parent 2e47920 commit b65d361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/modules/Nebula.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ void Nebula::drawLabel(StelPainter& sPainter, float maxMagLabel) const
sPainter.setColor(col[0], col[1], col[2], 0.f);

float size = getAngularSize(Q_NULLPTR)*M_PI/180.*sPainter.getProjector()->getPixelPerRadAtCenter();
float shift = 5.f + (drawHintProportional ? size*0.48f : 0.f);
float shift = 5.f + (drawHintProportional ? size*0.9f : 0.f);

QString str = getNameI18n();
if (str.isEmpty() || designationUsage)
Expand Down

0 comments on commit b65d361

Please sign in to comment.