diff --git a/Minint/ViewModels/EditorViewModel.cs b/Minint/ViewModels/EditorViewModel.cs index e167f89..5fc3c76 100644 --- a/Minint/ViewModels/EditorViewModel.cs +++ b/Minint/ViewModels/EditorViewModel.cs @@ -403,6 +403,9 @@ public partial class EditorViewModel : ViewModelBase [RelayCommand] private void SelectSelectTool() { CancelPasteMode(); ActiveTool = ToolType.Select; } + [RelayCommand] + private void ToggleGrid() => ShowGrid = !ShowGrid; + #endregion #region Selection + Copy/Paste (A4) diff --git a/Minint/Views/MainWindow.axaml b/Minint/Views/MainWindow.axaml index 9639e4d..0dd5bc6 100644 --- a/Minint/Views/MainWindow.axaml +++ b/Minint/Views/MainWindow.axaml @@ -12,6 +12,16 @@ Width="1024" Height="700" ToolTip.ShowDelay="400"> + + + + + + + + + +