mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-30 14:48:56 +07:00
4.2.17
This commit is contained in:
@ -21,9 +21,7 @@ class ImageWithCustomSize(drawable: Drawable) : Image(drawable) {
|
||||
width
|
||||
} else if (drawable != null) {
|
||||
drawable.minWidth
|
||||
} else {
|
||||
0f
|
||||
}
|
||||
} else 0f
|
||||
}
|
||||
|
||||
override fun getPrefHeight(): Float {
|
||||
@ -31,8 +29,6 @@ class ImageWithCustomSize(drawable: Drawable) : Image(drawable) {
|
||||
height
|
||||
} else if (drawable != null) {
|
||||
drawable.minHeight
|
||||
} else {
|
||||
0f
|
||||
}
|
||||
} else 0f
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user