Skip to content

Commit

Permalink
Correctly hide or show out of range labels
Browse files Browse the repository at this point in the history
Before if the options to draw out of range labels was ticket, they were hidden and unticled they were shown.
  • Loading branch information
JonBooth78 committed Jan 28, 2024
1 parent 1e58714 commit 1d1bb7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SectorView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ class SectorView::SectorMapCallbacks : public SectorMapContext::Callbacks {

if (dist > sv.m_playerHyperspaceRange) {
if (sv.m_drawOutRangeLabels) {
return DisplayModes::HIDE_LABEL;
} else {
return DisplayModes::SHADOW_LABEL;
} else {
return DisplayModes::HIDE_LABEL;
}
}
return DisplayModes::DEFAULT;
Expand Down

0 comments on commit 1d1bb7d

Please sign in to comment.