show width x height, not the other way round

This commit is contained in:
Jannik 2019-06-14 11:18:58 +02:00
parent a3c03c4bc7
commit 86c05c0363
Signed by: Seil0
GPG Key ID: E8459F3723C52C24
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ class RootController : Controller() {
val uuid = UUID.randomUUID()
val format = if (File(path).extension.toLowerCase() == "png") TextureFormat.PNG else TextureFormat.JPEG
val bimg = ImageIO.read(File(path)) //image for obtaining resolution
val resolution = Pair(bimg.height, bimg.width)
val resolution = Pair(bimg.width, bimg.height)
val cal = Calendar.getInstance() //calendar obj with current time
val hash = Sha256(data)

View File

@ -60,7 +60,7 @@ class MainViewController : Controller() {
}
}
// DetailView actions
// MainView actions
fun cvSearchAction(tags: ObservableList<String>) {
// show spinner, block ui