aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision/data
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-01-29 23:59:51 +0100
committerRobert Jaros <rjaros@finn.pl>2018-01-29 23:59:51 +0100
commit0c01ee40a27fde99ebc23dd13a5b54ce54a01b0f (patch)
tree9b72e603322591228ef9577cca0d1f7adf556305 /src/main/kotlin/pl/treksoft/kvision/data
parent2c7ca3f8808935fc0c56458dca54f7bf417141f7 (diff)
downloadkvision-0c01ee40a27fde99ebc23dd13a5b54ce54a01b0f.tar.gz
kvision-0c01ee40a27fde99ebc23dd13a5b54ce54a01b0f.tar.bz2
kvision-0c01ee40a27fde99ebc23dd13a5b54ce54a01b0f.zip
"auto" support in CssSize
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/data')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/data/DataContainer.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/data/DataContainer.kt b/src/main/kotlin/pl/treksoft/kvision/data/DataContainer.kt
index 32546bd5..2c87daea 100644
--- a/src/main/kotlin/pl/treksoft/kvision/data/DataContainer.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/data/DataContainer.kt
@@ -56,7 +56,7 @@ class DataContainer<M : DataComponent, C : Widget>(
return this.child.renderVNode()
}
- open fun get(index: Int) = model[index]
+ fun get(index: Int) = model[index]
override fun update() {
model.forEach { it.container = this }