adjust zoom-factor to use cosmetic-line and fixed comments

This commit is contained in:
plc-user
2025-03-07 10:58:47 +01:00
parent 40a7995993
commit 27cff81ee7
2 changed files with 8 additions and 8 deletions

View File

@@ -519,8 +519,8 @@ void Conductor::paint(QPainter *painter, const QStyleOptionGraphicsItem *options
final_conductor_pen.setStyle(m_properties.style);
final_conductor_pen.setJoinStyle(Qt::SvgMiterJoin); // better rendering with dot
//Use a cosmetique line, below a certain zoom
if (options && options->levelOfDetailFromTransform(painter->worldTransform()) < 1.0)
//Use a cosmetic line, below a certain zoom
if (options && options->levelOfDetailFromTransform(painter->worldTransform()) < 0.5)
{
final_conductor_pen.setCosmetic(true);
}