mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 12:36:31 +00:00
fix switcher between modes in DatasetExplorer.xaml
This commit is contained in:
@@ -37,7 +37,7 @@ public class DetectionClass
|
||||
public int ClassNumber => Id + 1;
|
||||
|
||||
[JsonIgnore]
|
||||
public int YoloId => (int)PhotoMode + Id;
|
||||
public int YoloId => Id == -1 ? Id : (int)PhotoMode + Id;
|
||||
|
||||
[JsonIgnore]
|
||||
public SolidColorBrush ColorBrush => new(Color);
|
||||
|
||||
Reference in New Issue
Block a user