Skip to content

Commit

Permalink
[1] Upgrade to AppSuite 3.0.0.1019-dev.
Browse files Browse the repository at this point in the history
[2] Upgrade to Avalonia 11.2.0-rc1.
  • Loading branch information
hamster620 committed Oct 19, 2024
1 parent 2af349e commit 6934811
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
15 changes: 0 additions & 15 deletions ULogViewer/App.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -271,21 +271,6 @@ protected override bool OnExceptionOccurredInApplicationLifetime(Exception ex)
{
switch (ex)
{
case IndexOutOfRangeException: // [Workaround] Prevent unexpected error occurred in TextBox
{
var stackTrace = ex.StackTrace ?? "";
if (stackTrace.Contains("at Avalonia.Media.GlyphRun.FindNearestCharacterHit("))
{
this.Logger.LogWarning("Ignore IndexOutOfRangeException thrown by GlyphRun.FindNearestCharacterHit() caused by unknown reason");
return true;
}
if (stackTrace.Contains(" at Avalonia.Media.GlyphRun.GetDistanceFromCharacterHit("))
{
this.Logger.LogWarning("Ignore IndexOutOfRangeException thrown by GlyphRun.GetDistanceFromCharacterHit() caused by unknown reason");
return true;
}
break;
}
case InvalidOperationException: // [Workaround] Prevent unexpected error occurred in TextBlock
{
var stackTrace = ex.StackTrace ?? "";
Expand Down
4 changes: 2 additions & 2 deletions ULogViewer/ULogViewer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
<PublishReadyToRun>false</PublishReadyToRun>
<PublishReadyToRunEmitSymbols>false</PublishReadyToRunEmitSymbols>
<AvaloniaNameGeneratorFilterByNamespace>Dummy</AvaloniaNameGeneratorFilterByNamespace> <!-- Prevent generating InitializeComponents() and fields -->
<AppSuiteVersion>3.0.0.1012-dev</AppSuiteVersion>
<AvaloniaVersion>11.1.4</AvaloniaVersion>
<AppSuiteVersion>3.0.0.1019-dev</AppSuiteVersion>
<AvaloniaVersion>11.2.0-rc1</AvaloniaVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='Debug'">
Expand Down

0 comments on commit 6934811

Please sign in to comment.