Commit edc33106 authored by Scott Petrovic's avatar Scott Petrovic Committed by Scott Petrovic
Browse files

make the anchor points on the curve a bit easier to see by using a themed color


Signed-off-by: Scott Petrovic's avatarScott Petrovic <scottpetrovic@gmail.com>
parent ffbb54b0
......@@ -324,11 +324,11 @@ void KisCurveWidget::paintEvent(QPaintEvent *)
curveY = d->m_curve.points().at(i).y();
if (i == d->m_grab_point_index) {
p.setPen(QPen(Qt::red, 3, Qt::SolidLine));
p.setPen(QPen(appPalette.color(QPalette::Text), 6, Qt::SolidLine));
p.drawEllipse(QRectF(curveX * wWidth - 2,
wHeight - 2 - curveY * wHeight, 4, 4));
} else {
p.setPen(QPen(Qt::red, 1, Qt::SolidLine));
p.setPen(QPen(appPalette.color(QPalette::Text), 2, Qt::SolidLine));
p.drawEllipse(QRectF(curveX * wWidth - 3,
wHeight - 3 - curveY * wHeight, 6, 6));
}
......
Markdown is supported
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