Skip to content

Commit f0b871f

Browse files
Fix #126
1 parent 0478da9 commit f0b871f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

plot-livemap/src/commonMain/kotlin/jetbrains/datalore/plot/livemap/MapEntityBuilder.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@ internal class MapEntityBuilder {
5858
val speed get() = myP.speed()!!
5959
val flow get() = myP.flow()!!
6060
val fillColor get() = colorWithAlpha(myP.fill()!!)
61-
val strokeColor get() = colorWithAlpha(myP.color()!!)
61+
val strokeColor get() = when(myLayerKind) {
62+
POLYGON -> myP.color()!!
63+
else -> colorWithAlpha(myP.color()!!)
64+
}
65+
6266
val label get() = myP.label()
6367
val family get() = myP.family()
6468
val hjust get() = hjust(myP.hjust())

0 commit comments

Comments
 (0)