mirror of
https://github.com/nacabaro/vbhelper.git
synced 2026-06-05 22:02:54 +00:00
Fixed sprite positioning on main screen.
This commit is contained in:
parent
481c0b6d9a
commit
b74b04cda9
@ -498,7 +498,7 @@ fun MiddleBattleView(
|
|||||||
.size(80.dp)
|
.size(80.dp)
|
||||||
.offset(
|
.offset(
|
||||||
x = enemyHitOffset,
|
x = enemyHitOffset,
|
||||||
y = enemyVerticalOffset
|
y = enemyVerticalOffset + 40.dp
|
||||||
),
|
),
|
||||||
contentScale = ContentScale.Fit,
|
contentScale = ContentScale.Fit,
|
||||||
reloadMappings = false
|
reloadMappings = false
|
||||||
@ -578,7 +578,7 @@ fun MiddleBattleView(
|
|||||||
.scale(-1f, 1f) // Flip player Digimon horizontally
|
.scale(-1f, 1f) // Flip player Digimon horizontally
|
||||||
.offset(
|
.offset(
|
||||||
x = playerHitOffset,
|
x = playerHitOffset,
|
||||||
y = playerVerticalOffset
|
y = playerVerticalOffset - 40.dp
|
||||||
),
|
),
|
||||||
contentScale = ContentScale.Fit,
|
contentScale = ContentScale.Fit,
|
||||||
reloadMappings = false
|
reloadMappings = false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user