Fix painting of detail highlight
- painting of the detail highlight in the base view was being delayed until the base view was updated. It is now drawn when detail changes.
This commit is contained in:
committed by
Yorik van Havre
parent
eee9a85716
commit
f0ebddc2cc
@@ -103,7 +103,7 @@ DrawViewDetail::DrawViewDetail()
|
||||
ADD_PROPERTY_TYPE(Reference ,("1"),dgroup,App::Prop_None,"An identifier for this detail");
|
||||
|
||||
getParameters();
|
||||
m_fudge = 1.1;
|
||||
m_fudge = 1.01;
|
||||
}
|
||||
|
||||
DrawViewDetail::~DrawViewDetail()
|
||||
@@ -274,6 +274,7 @@ App::DocumentObjectExecReturn *DrawViewDetail::execute(void)
|
||||
}
|
||||
|
||||
requestPaint();
|
||||
dvp->requestPaint();
|
||||
|
||||
return App::DocumentObject::StdReturn;
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ QGIMatting::QGIMatting() :
|
||||
void QGIMatting::draw()
|
||||
{
|
||||
prepareGeometryChange();
|
||||
double radiusFudge = 1.15; //keep slightly larger than fudge in App/DVDetail to prevent bleed through
|
||||
double radiusFudge = 1.1; //keep slightly larger than fudge in App/DVDetail to prevent bleed through
|
||||
double outerRadius = m_radius * radiusFudge;
|
||||
m_width = outerRadius;
|
||||
m_height = outerRadius;
|
||||
|
||||
Reference in New Issue
Block a user