Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
artemiusgreat committed Aug 29, 2024
1 parent f1730c5 commit 0d9d417
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Canvas.Core/Composers/Composer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,8 @@ public virtual void GetItems(IEngine engine, DomainModel domain)
for (var i = domain.MinIndex; i < domain.MaxIndex; i++)
{
var item = Items.ElementAtOrDefault(i);
var itemDomain = item?.GetDomain(i, null, Items);

if (itemDomain is null)
if (item is null)
{
continue;
}
Expand Down

0 comments on commit 0d9d417

Please sign in to comment.