2 references to Intersect
Aspire.Tray.Tests (2)
src\Aspire.Tray\Common\TrayPanel.cs (2)
1366var hit = IsChrome(key.Kind) ? bounds : bounds.Intersect(_viewport); 1382_accessible.Add(new(PanelAccessibleKey.For(label), PanelAccessibleRole.Text, text, bounds, chrome ? bounds : bounds.Intersect(_viewport)));