mirror of
https://github.com/haven1433/HexManiacAdvance.git
synced 2026-10-01 20:56:36 -05:00
escape actually deselects tools
This commit is contained in:
@@ -96,7 +96,7 @@ namespace HavenSoft.HexManiac.Core.ViewModels.Map {
|
||||
set {
|
||||
Set(ref drawBlockIndex, value, old => {
|
||||
DrawMultipleTiles = false;
|
||||
BlockEditorVisible = true;
|
||||
if (drawBlockIndex >= 0) BlockEditorVisible = true;
|
||||
PrimaryMap.BlockEditor.BlockIndex = drawBlockIndex;
|
||||
drawBlockIndex = Math.Min(drawBlockIndex, PrimaryMap.BlockEditor.BlockIndex);
|
||||
selectionFromBlock = false;
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
xmlns:res="clr-namespace:HavenSoft.HexManiac.WPF.Resources"
|
||||
>
|
||||
<Grid>
|
||||
<!-- TODO add button for showing tiles -->
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
|
||||
Reference in New Issue
Block a user