Skip to content
GitLab
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
60d2b736
Commit
60d2b736
authored
Aug 25, 2022
by
Harald Sitter
🏳️🌈
Browse files
set antializing on the item itself as well
to prevent fuzzyness
BUG: 458181
parent
dc3e7f10
Pipeline
#222669
passed with stage
in 11 minutes and 30 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
src/radialMap/item.cpp
View file @
60d2b736
...
...
@@ -414,9 +414,12 @@ void RadialMap::Item::paint(QPainter *painter)
// exploded labels
if
(
!
m_map
.
isNull
()
&&
!
m_timer
.
isActive
())
{
if
(
Config
::
antialias
)
{
setAntialiasing
(
true
);
painter
->
setRenderHint
(
QPainter
::
Antialiasing
);
// make lines appear on pixel boundaries
painter
->
translate
(
0.5
,
0.5
);
}
else
{
setAntialiasing
(
false
);
}
paintExplodedLabels
(
*
painter
);
}
...
...
Harald Sitter
🏳️🌈
@sitter
mentioned in commit
5509157b
·
Aug 25, 2022
mentioned in commit
5509157b
mentioned in commit 5509157bf29cd3fe09022171b4739615e051ebcb
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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