Skip to content

Commit 0299693

Browse files
committed
changed output format from double to int
1 parent b8b1d4f commit 0299693

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Manifest-Version: 1.0
2+
Main-Class: ch.bildspur.annotator.Main
3+

src/main/kotlin/ch/bildspur/annotator/ui/MainViewController.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ class MainViewController {
135135
sb.append("$path ${image.polygons.size} ")
136136
for (polygon in image.polygons) {
137137
val rect = getRectData(polygon)
138-
sb.append("${rect.x} ${rect.y} ${rect.width} ${rect.height} ")
138+
sb.append("${rect.x.toInt()} ${rect.y.toInt()} ${rect.width.toInt()} ${rect.height.toInt()} ")
139139
}
140140
sb.appendln()
141141
}

0 commit comments

Comments
 (0)