Skip to content

Commit

Permalink
Add SchemeDependencies Any method
Browse files Browse the repository at this point in the history
  • Loading branch information
cooolbros committed Dec 20, 2023
1 parent 09eba21 commit a748dc8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/HUDMerger/Models/SchemeDependencies.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,9 @@ public void UnionWith(SchemeDependencies other)
Borders.UnionWith(other.Borders);
Fonts.UnionWith(other.Fonts);
}

public bool Any()
{
return Colours.Count != 0 || Borders.Count != 0 || Fonts.Count != 0;
}
}

0 comments on commit a748dc8

Please sign in to comment.