mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-04-15 21:03:42 +08:00
17 lines
446 B
C#
17 lines
446 B
C#
using BetterGenshinImpact.Helpers.Ui;
|
|
using BetterGenshinImpact.ViewModel.Windows;
|
|
|
|
namespace BetterGenshinImpact.View.Windows;
|
|
|
|
public partial class MapViewer
|
|
{
|
|
public MapViewerViewModel ViewModel { get; }
|
|
|
|
public MapViewer(string mapName)
|
|
{
|
|
DataContext = ViewModel = new MapViewerViewModel(mapName);
|
|
InitializeComponent();
|
|
SourceInitialized += (s, e) => WindowHelper.TryApplySystemBackdrop(this);
|
|
}
|
|
}
|