Change the Invalidate Type to flags
remove undo buffer from invalidate type
This commit is contained in:
parent
0d74b4b5d8
commit
f0728e0610
56 changed files with 283 additions and 261 deletions
|
|
@ -78,7 +78,7 @@ namespace MatterHackers.MatterControl.DesignTools
|
|||
|
||||
public override void OnInvalidate(InvalidateArgs invalidateType)
|
||||
{
|
||||
if (invalidateType.InvalidateType == InvalidateType.Properties
|
||||
if (invalidateType.InvalidateType.HasFlag(InvalidateType.Properties)
|
||||
&& invalidateType.Source == this)
|
||||
{
|
||||
Rebuild(null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue