mirror of
https://github.com/BlossomiShymae/Needlework.Net.git
synced 2026-07-12 14:09:41 +02:00
feat: save offsets in viewmodels
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using AvaloniaEdit.Utils;
|
||||
using Avalonia;
|
||||
using AvaloniaEdit.Utils;
|
||||
using CommunityToolkit.Mvvm.ComponentModel;
|
||||
using CommunityToolkit.Mvvm.Input;
|
||||
using Needlework.Net.Models;
|
||||
@@ -40,6 +41,9 @@ public partial class EndpointListViewModel : ObservableObject
|
||||
[ObservableProperty]
|
||||
private string _search = string.Empty;
|
||||
|
||||
[ObservableProperty]
|
||||
private Vector _offset = new();
|
||||
|
||||
partial void OnSearchChanged(string value)
|
||||
{
|
||||
EndpointSearchDetails.Clear();
|
||||
|
||||
Reference in New Issue
Block a user