Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Filelight
Commits
88fcd819
Commit
88fcd819
authored
Dec 21, 2020
by
Martin Tobias Holmedahl Sandsmark
Committed by
Harald Sitter
Jan 05, 2021
Browse files
Dumb fix for wrong line position
parent
f133de56
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/radialMap/labels.cpp
View file @
88fcd819
...
...
@@ -233,7 +233,7 @@ void RadialMap::Widget::paintExplodedLabels(QPainter &paint) const
}
}
int
middleX
=
targetX
-
(
startY
-
targetY
)
/
tan
(
ra
);
int
middleX
=
targetX
-
(
tan
(
ra
)
>
0
?
(
startY
-
targetY
)
/
tan
(
ra
)
:
0
)
;
int
textY
=
startY
+
lineSpacing
;
int
textX
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment