Use dedicated theme for menus, prefer theme colors over explicit refs
- Revise icon loader to take an Invert bool instead of custom enum - Remove icon loader static ref to ActiveTheme.Instance - Pass contextual theme.InvertIcons for theme specific invert behavior
This commit is contained in:
parent
d3ef1d354e
commit
37a0b64b02
54 changed files with 231 additions and 241 deletions
|
|
@ -77,7 +77,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
|
|||
var boundsInParentSpace = widget.TransformToParentSpace(widget.Parent, bounds);
|
||||
var intersects = boundsInParentSpace.IntersectRectangles(boundsInParentSpace, widget.Parent.LocalBounds);
|
||||
if (!intersects
|
||||
|| boundsInParentSpace.Width <= 0
|
||||
|| boundsInParentSpace.Width <= 0
|
||||
|| boundsInParentSpace.Height <= 0
|
||||
|| !WidgetOnScreen(widget.Parent, boundsInParentSpace))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue