Skip to content

Commit

Permalink
bug(Spell): Fix stepsize for hex grids
Browse files Browse the repository at this point in the history
  • Loading branch information
Kruptein authored Aug 12, 2024
1 parent 9a66397 commit 7ce911b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/game/ui/tools/SpellTool.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7ce911b

Please sign in to comment.