Skip to content

Commit

Permalink
Fix - Monster registration image always been scale content fit
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandregpereira committed Aug 22, 2024
1 parent a71c1bb commit 8b5369a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ internal fun Metadata.asState(strings: MonsterRegistrationStrings): MonsterState
typeIndex = MonsterType.entries.indexOf(monster.type),
typeOptions = MonsterType.entries.map { it.name(strings) },
challengeRating = monster.challengeRatingData.valueInString,
imageContentScale = monster.imageData.contentScale,
),
stats = StatsState(
armorClass = monster.stats.armorClass,
Expand Down

0 comments on commit 8b5369a

Please sign in to comment.