1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +01:00

MixerCurve, Tweek: adjust positive node text location.

This commit is contained in:
Mike LaBranche 2012-07-16 13:30:36 -07:00
parent faa7fafcbd
commit d8e685a226

View File

@ -123,7 +123,7 @@ void Node::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWid
painter->drawText(0,4,text);
}
else {
painter->drawText(-13, 4, text);
painter->drawText( (value() < 0) ? -13 : -11, 4, text);
}
}
}