Snapshot for release 2026.10.19.1 (internal fa7a8f6)

This commit is contained in:
Tom Bohar 2026-10-19 09:11:20 -04:00
commit 44074df011
110 changed files with 8017 additions and 291 deletions

View file

@ -165,14 +165,31 @@ internal partial class MainWindow : Window
_updateTimer.Tick += async (_, _) => await CheckForUpdatesAsync();
_updateTimer.Start();
_ = CheckForUpdatesAsync();
// Keep Updates + Launch Targets reachable: a bad * row under this scroll used to
// leave Offset stuck with those cards clipped above the viewport.
MainTabs.SelectionChanged += (_, _) =>
{
if (MainTabs.SelectedIndex == 0)
ResetLauncherScrollToTop();
};
Opened += async (_, _) =>
{
ResetLauncherScrollToTop();
await AskAboutUsageStatsOnceAsync();
await CleanUpDecalBridgeIfUnusedAsync(atStartup: true);
await CheckFolderAccessAtStartupAsync(); // MainWindow.FolderAccess.cs: can the game client save?
};
}
/// <summary>
/// Scroll the Launcher tab back to the top so Updates and Launch Targets stay reachable.
/// </summary>
private void ResetLauncherScrollToTop()
{
try { LauncherScroll.Offset = new global::Avalonia.Vector(0, 0); }
catch { /* designer / pre-init */ }
}
private void WireEvents()
{
AddServerButton.Click += async (_, _) => await AddServerAsync();