Io/zerospace converter #1

Merged
JonathanMcCaffrey merged 137 commits from io/zerospace-converter into master 2026-09-29 18:21:24 +00:00
Showing only changes of commit 0bf5c0dec7 - Show all commits
@@ -36,6 +36,21 @@ public partial class MapEditorPage : ContentPage
MapView.Drawable = _drawable;
MapView.SizeChanged += OnMapViewSizeChanged;
TryAutoLoad();
LoadGalaxyMapAsync();
}
// ----- galaxy map background -----
private async void LoadGalaxyMapAsync()
{
_drawable.BackgroundImage = await MapBackground.LoadAsync();
MapView.Invalidate();
}
private void OnBackgroundToggled(object? sender, CheckedChangedEventArgs e)
{
_drawable.ShowBackground = e.Value;
MapView.Invalidate();
}
// ----- view transform -----