Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit a1d2e09

Browse files
committed
fix a case with property overriding throwing an error
1 parent 5005fa5 commit a1d2e09

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Project-Aurora/Project-Aurora/Settings/Layers/LayerHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public Color? _PrimaryColor
3636
}
3737

3838
[JsonIgnore]
39-
public Color PrimaryColor => Logic._PrimaryColor ?? _PrimaryColor ?? Color.Empty;
39+
public Color PrimaryColor => Logic?._PrimaryColor ?? _PrimaryColor ?? Color.Empty;
4040

4141
[JsonIgnore]
4242
private KeySequence _sequence;

0 commit comments

Comments
 (0)