|
|
@ -21,11 +21,8 @@ namespace Avalonia.Controls.Primitives |
|
|
|
|
|
|
|
|
return null; |
|
|
return null; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public bool HitTest(Point point) |
|
|
public bool HitTest(Point point) => Children.HitTestCustom(point); |
|
|
{ |
|
|
|
|
|
return Children.Any(ctrl => ctrl.TransformedBounds?.Contains(point) == true); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
protected override Size ArrangeOverride(Size finalSize) |
|
|
protected override Size ArrangeOverride(Size finalSize) |
|
|
{ |
|
|
{ |
|
|
|