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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user