--- a/src/gldraw.cc Mon Dec 23 16:13:09 2013 +0200 +++ b/src/gldraw.cc Mon Dec 23 16:16:45 2013 +0200 @@ -312,7 +312,7 @@ } if (obj->getColor() == edgecolor) - { qcol = luma (m_bgcolor) < 40 ? QColor (64, 64, 64) : Qt::black; + { qcol = (m_darkbg == false) ? Qt::black : Qt::white; LDColor* col; if (!gl_blackedges && obj->getParent() && (col = getColor (obj->getParent()->getColor())))