From 7782fb0d547ec689e7fc1155415a0941620070f2 Mon Sep 17 00:00:00 2001 From: Duefectu Date: Tue, 5 Nov 2024 14:33:25 +0100 Subject: [PATCH] 0.4 Beta preview --- .../DocumentEditors/ZXGraphics/SpriteImportDialog.axaml | 5 +++-- .../DocumentEditors/ZXGraphics/SpriteImportDialog.axaml.cs | 6 +++--- ZXBStudio/ZXBasicStudio.csproj | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/ZXBStudio/DocumentEditors/ZXGraphics/SpriteImportDialog.axaml b/ZXBStudio/DocumentEditors/ZXGraphics/SpriteImportDialog.axaml index 735f769..1f07075 100644 --- a/ZXBStudio/DocumentEditors/ZXGraphics/SpriteImportDialog.axaml +++ b/ZXBStudio/DocumentEditors/ZXGraphics/SpriteImportDialog.axaml @@ -16,14 +16,15 @@ - + Move the image with the arrow keys (shift faster) + Zoom 1x - + diff --git a/ZXBStudio/DocumentEditors/ZXGraphics/SpriteImportDialog.axaml.cs b/ZXBStudio/DocumentEditors/ZXGraphics/SpriteImportDialog.axaml.cs index d71464f..3148690 100644 --- a/ZXBStudio/DocumentEditors/ZXGraphics/SpriteImportDialog.axaml.cs +++ b/ZXBStudio/DocumentEditors/ZXGraphics/SpriteImportDialog.axaml.cs @@ -119,12 +119,12 @@ public void Dispose() private async void BtnFile_Tapped(object? sender, Avalonia.Input.TappedEventArgs e) { - var fileTypes = new FilePickerFileType[5]; + var fileTypes = new FilePickerFileType[4]; fileTypes[0] = new FilePickerFileType("All files") { Patterns = new[] { "*", "*.*" } }; fileTypes[1] = new FilePickerFileType("BMP files") { Patterns = new[] { "*.bmp" } }; - fileTypes[2] = new FilePickerFileType("JPG files") { Patterns = new[] { "*.jpeg" } }; + fileTypes[2] = new FilePickerFileType("JPG files") { Patterns = new[] { "*.jpg", "*.jpeg" } }; fileTypes[3] = new FilePickerFileType("PNG files") { Patterns = new[] { "*.png" } }; - fileTypes[4] = new FilePickerFileType("SCR Spectrum screem files") { Patterns = new[] { "*.scr" } }; + /*fileTypes[4] = new FilePickerFileType("SCR Spectrum screen files") { Patterns = new[] { "*.scr" } };*/ var select = await StorageProvider.OpenFilePickerAsync(new FilePickerOpenOptions { diff --git a/ZXBStudio/ZXBasicStudio.csproj b/ZXBStudio/ZXBasicStudio.csproj index 93d7301..04cbb9b 100644 --- a/ZXBStudio/ZXBasicStudio.csproj +++ b/ZXBStudio/ZXBasicStudio.csproj @@ -11,9 +11,9 @@ AnyCPU;x64 zxbs.ico ZX Basic Studio - 1.2.* + 1.3.* False - 1.2.1.1 + 1.3.99.0