7 references to IsEmpty
Aspire.Tray.Tests (7)
src\Aspire.Tray\Common\TrayPanelScene.cs (1)
228public bool IsOffscreen => VisibleBounds.IsEmpty;
src\Aspire.Tray\Common\TrayPanelSceneJson.cs (1)
84foreach (var target in scene.Targets.Where(target => !target.HitBounds.IsEmpty))
TrayPanelTests.cs (5)
78Assert.True(bounds.Contains(target.HitBounds) || target.HitBounds.IsEmpty, $"{target.Key} at {target.HitBounds}"); 79Assert.True(target.HitBounds.IsEmpty || target.Bounds.Contains(target.HitBounds)); 86target => Assert.True(target.HitBounds.IsEmpty || panel.Viewport.Contains(target.HitBounds))); 494Assert.True(first.HitBounds.IsEmpty); 891or PanelTargetKind.Quit or PanelTargetKind.Back).Where(target => !target.HitBounds.IsEmpty))