Commit 60d2b736 authored by Harald Sitter's avatar 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
......@@ -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);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment