Skip to content

Commit

Permalink
[TASK] Use configured FIR font for selection rectangle (#247)
Browse files Browse the repository at this point in the history
That used the default font before - not a good match if you otherwise
selected custom fonts for map labels.
  • Loading branch information
jonaseberle committed May 29, 2023
1 parent 8fdc6f0 commit f8329c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GLWidget.cpp
Expand Up @@ -1797,7 +1797,7 @@ void GLWidget::drawSelectionRectangle() {
glEnd();

// information labels
const QFont font = QFont(); //Settings::firFont();
const QFont font = Settings::firFont();
const QFontMetricsF fontMetrics(font, this);

// show position label
Expand Down

0 comments on commit f8329c8

Please sign in to comment.