Skip to content

Commit

Permalink
Fixed a typo that caused the height of the card collection to be ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
alessiocali committed Dec 11, 2022
1 parent cfa10c2 commit 2ba7d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/card-tiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function getDefaultWidth(cardCollection) {
}

function getDefaultHeight(cardCollection) {
return cardCollection.heigh || game.settings.get(CardTilesConstants.MODULE_NAME, CardTilesConstants.Settings.DEFAULT_HEIGHT_NAME) || 100;
return cardCollection.height || game.settings.get(CardTilesConstants.MODULE_NAME, CardTilesConstants.Settings.DEFAULT_HEIGHT_NAME) || 100;
}

async function moveCardToBoardStack(cardEventData) {
Expand Down

0 comments on commit 2ba7d10

Please sign in to comment.