LANCommander/LANCommander.Launcher/ViewModels/ViewModelBase.cs
Pat Hartl b183e4b18c Remove old launcher, rename Avalonia launcher
Also adds ARM builds for Linux + Windows launcher
2026-06-06 05:49:24 -05:00

14 lines
498 B
C#

using Avalonia;
using CommunityToolkit.Mvvm.ComponentModel;
namespace LANCommander.Launcher.ViewModels;
public abstract partial class ViewModelBase : ObservableObject
{
/// <summary>
/// Saved vertical scroll offset, used to restore scroll position when a view
/// is recreated (e.g. after navigating back). Views opt-in via the
/// <c>ScrollPersistence.ViewModel</c> attached property on their ScrollViewer.
/// </summary>
public Vector SavedScrollOffset { get; set; }
}