Fix width<>height problem

This commit is contained in:
ligi 2023-01-04 21:01:31 +01:00
parent 200e34367f
commit c5b12da402

View File

@ -214,7 +214,7 @@ fun checkIcon(icon: File, withIconDownload: Boolean, allIconCIDs: MutableSet<Str
}
if (image.raster.height != height) {
error("width in json ($icon) is $height but actually is in imageDownload ${image.height}")
error("height in json ($icon) is $height but actually is in imageDownload ${image.height}")
}
} catch (e: Exception) {
e.printStackTrace()