mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-23 22:27:15 +00:00
Fix special weapon alignment. Fixes #1389
This commit is contained in:
parent
feaea3745b
commit
8b985ff0c0
1 changed files with 3 additions and 1 deletions
|
|
@ -368,7 +368,9 @@ class AvatarView : View {
|
|||
if (offset != null) {
|
||||
when (layerName) {
|
||||
"head_special_0" -> offset = PointF(offset.x-3, offset.y-18)
|
||||
"weapon_special_0" -> offset = PointF(offset.x-3, offset.y-18)
|
||||
"weapon_special_0" -> offset = PointF(offset.x-12, offset.y+4)
|
||||
"weapon_special_1" -> offset = PointF(offset.x-12, offset.y+4)
|
||||
"weapon_special_critical" -> offset = PointF(offset.x-12, offset.y+4)
|
||||
"head_special_1" -> offset = PointF(offset.x, offset.y+3)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue