mirror of
https://github.com/aaru-dps/Aaru.git
synced 2026-07-08 18:16:24 +00:00
[GUI] Highlight long BD sector
This commit is contained in:
@@ -158,6 +158,20 @@ public sealed partial class ViewSectorViewModel : ViewModelBase
|
||||
return;
|
||||
}
|
||||
|
||||
if(SectorData.Length == 2052 && LongSectorChecked)
|
||||
{
|
||||
// Blu-ray sector
|
||||
|
||||
ColorRange bd_edc = new ColorRange
|
||||
{
|
||||
Color = Brushes.LimeGreen,
|
||||
Start = 2048,
|
||||
End = 2051
|
||||
};
|
||||
|
||||
HighlightRanges = [bd_edc];
|
||||
}
|
||||
|
||||
// Not a standard CD sector
|
||||
if(SectorData.Length != 2352) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user