From 7ce911b4c0938e33fc5a287b9f3e95ff9016f72b Mon Sep 17 00:00:00 2001 From: Darragh Van Tichelen Date: Mon, 12 Aug 2024 19:02:34 +0200 Subject: [PATCH] bug(Spell): Fix stepsize for hex grids --- client/src/game/ui/tools/SpellTool.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/game/ui/tools/SpellTool.vue b/client/src/game/ui/tools/SpellTool.vue index 149c2e1c9..2df14af06 100644 --- a/client/src/game/ui/tools/SpellTool.vue +++ b/client/src/game/ui/tools/SpellTool.vue @@ -29,7 +29,7 @@ const translationMapping = { }; const stepSize = computed(() => { - if (isHexGrid.value && spellTool.state.selectedSpellShape === SpellShape.Square) { + if (isHexGrid.value && spellTool.state.selectedSpellShape === SpellShape.Hex) { return 1; } return 5;