[TD]fix #18050 hidden line color

This commit is contained in:
wandererfan
2024-12-03 21:22:53 -05:00
committed by Yorik van Havre
parent 9ba6bc30fb
commit f6384b4d57

View File

@@ -396,8 +396,9 @@ void QGIViewPart::drawAllEdges()
// hidden line without a format
item->setLinePen(m_dashedLineGenerator->getLinePen(Preferences::HiddenLineStyle(),
vp->LineWidth.getValue()));
item->setWidth(Rez::guiX(vp->HiddenWidth.getValue())); //thin
item->setZValue(ZVALUE::HIDEDGE);
item->setHiddenEdge(true);
item->setWidth(Rez::guiX(vp->HiddenWidth.getValue())); //thin
item->setZValue(ZVALUE::HIDEDGE);
} else {
// unformatted visible line, draw as continuous line
item->setLinePen(m_dashedLineGenerator->getLinePen(1, vp->LineWidth.getValue()));