Skip to content

Commit

Permalink
chore: update to Avalonia 11.2.0-beta
Browse files Browse the repository at this point in the history
Closes #540
  • Loading branch information
timschneeb committed Aug 28, 2024
1 parent 0e570e7 commit e9daafc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion GalaxyBudsClient/Application.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@

<PropertyGroup>
<!-- Global dependency versions -->
<AvaloniaVersion>11.1.0-rc1</AvaloniaVersion>
<AvaloniaVersion>11.2.0-beta1</AvaloniaVersion>
</PropertyGroup>
</Project>
8 changes: 4 additions & 4 deletions GalaxyBudsClient/GalaxyBudsClient.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@
<PackageReference Include="Avalonia.Markup.Xaml.Loader" Version="$(AvaloniaVersion)" />
<PackageReference Include="Avalonia.Themes.Fluent" Version="$(AvaloniaVersion)" />
<PackageReference Include="Avalonia.ReactiveUI" Version="$(AvaloniaVersion)" />
<PackageReference Include="Avalonia.Svg.Skia" Version="11.1.0-rc1" />
<PackageReference Include="Avalonia.Xaml.Behaviors" Version="11.1.0-rc1" />
<PackageReference Include="AvaloniaHex" Version="0.1.0" />
<PackageReference Include="Avalonia.Svg.Skia" Version="11.1.0" />
<PackageReference Include="Avalonia.Xaml.Behaviors" Version="11.1.0" />
<PackageReference Include="AvaloniaHex" Version="0.1.3" />
<PackageReference Include="BouncyCastle.Cryptography" Version="2.4.0" />
<PackageReference Include="CommandLineParser" Version="2.9.2-ci-210" />
<PackageReference Include="Config.Net" Version="5.2.0" />
Expand All @@ -102,7 +102,7 @@
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="9.0.0-preview.3.24172.4" />
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
<PackageReference Include="ReactiveUI.Fody" Version="19.5.41" />
<PackageReference Include="ScottPlot.Avalonia" Version="5.0.35" />
<PackageReference Include="ScottPlot.Avalonia" Version="5.0.37" />
<PackageReference Include="Sentry" Version="4.2.1" />
<PackageReference Include="Sentry.Serilog" Version="4.2.1" />
<PackageReference Include="Serilog" Version="3.1.1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ private async Task UpdatePlotAsync()

Plot.Axes.Left.TickGenerator = new NumericAutomatic
{
LabelFormatter = value => value is < 0 or > 100 ? string.Empty : NumericAutomatic.DefaultLabelFormatter(value)
LabelFormatter = value => value is < 0 or > 100 ? string.Empty : LabelFormatters.Numeric(value)
};

Plot.Font.Set(font);
Expand Down
3 changes: 3 additions & 0 deletions GalaxyBudsClient/Model/InMemoryBinaryDocument.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ public void RemoveBytes(ulong offset, ulong length)
public bool IsReadOnly => false;
public bool CanInsert => true;
public bool CanRemove => true;
public IReadOnlyBitRangeUnion ValidRanges =>
new BitRangeUnion(new List<BitRange>{new (0UL, Length)}.AsReadOnly());

#pragma warning disable CS0067
public event EventHandler<BinaryDocumentChange>? Changed;
#pragma warning restore CS0067
Expand Down

0 comments on commit e9daafc

Please sign in to comment.