Made invalidate args so we can pass source and invalidate type
Rebuild does not propagate to parent
This commit is contained in:
parent
28b55b73a5
commit
ff6e220b4c
21 changed files with 60 additions and 37 deletions
|
|
@ -110,7 +110,7 @@ namespace MatterHackers.MatterControl.DesignTools
|
|||
_invert = value;
|
||||
_image = null;
|
||||
|
||||
this.OnInvalidate();
|
||||
this.OnInvalidate(new InvalidateArgs(this, InvalidateType.Content));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -123,8 +123,8 @@ namespace MatterHackers.MatterControl.DesignTools
|
|||
}
|
||||
|
||||
Rebuilding = false;
|
||||
// Let the base know it needs to rebuild
|
||||
base.Rebuild(undoBuffer);
|
||||
|
||||
Invalidate(new InvalidateArgs(this, InvalidateType.Content));
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue