mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 11:26:27 +00:00
Layers - Prevent brushes from going null when provider is missing
Layers - Set broken state when brush provider is missing UI - Tweaked broken state visuals
This commit is contained in:
1 parent
2f270c9c03
commit
3b04447ff7
8 files changed
+83
-49
No files matched your search
@@ -59,7 +59,7 @@ public abstract class BreakableModel : CorePropertyChanged, IBreakableModel
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public void SetBrokenState(string state, Exception? exception)
|
||||
public void SetBrokenState(string state, Exception? exception = null)
|
||||
{
|
||||
BrokenState = state ?? throw new ArgumentNullException(nameof(state));
|
||||
BrokenStateException = exception;
|
||||
|
||||
Reference in new issue
Block a user