refactoring
This commit is contained in:
parent
fbd0ba445a
commit
18d8721dd5
68 changed files with 2187 additions and 36 deletions
|
|
@ -146,6 +146,14 @@ public partial class MainWindow : Window
|
|||
marker.IsVisible = true;
|
||||
}
|
||||
|
||||
public void BrowserRow_PointerPressed(object? sender, PointerPressedEventArgs e)
|
||||
{
|
||||
if (sender is not Control { DataContext: FieldRowViewModel row }) return;
|
||||
if (!row.IsPointer) return;
|
||||
if (DataContext is not MainWindowViewModel mainVm) return;
|
||||
mainVm.BrowserVm?.NavigateToPointer(row);
|
||||
}
|
||||
|
||||
protected override void OnClosing(WindowClosingEventArgs e)
|
||||
{
|
||||
if (_store != null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue