src/gldraw.cc

changeset 592
d3cf7a23bb59
parent 590
7aec744ce97b
child 593
108d7d21e155
--- 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())))

mercurial