diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-02-26 12:46:35 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-02-26 12:46:35 +0100 |
commit | 60bf54b6062199de460c7213f87f5cac8c9d97b3 (patch) | |
tree | 8398922778f58501b75113ad508b440adc130022 /src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt | |
parent | 5c98e5bb469269d54fb508f2adf589da696cbcd6 (diff) | |
download | kvision-60bf54b6062199de460c7213f87f5cac8c9d97b3.tar.gz kvision-60bf54b6062199de460c7213f87f5cac8c9d97b3.tar.bz2 kvision-60bf54b6062199de460c7213f87f5cac8c9d97b3.zip |
Fix UNIT type name.
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt b/src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt index 423b1cde..3c7acbe5 100644 --- a/src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt +++ b/src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt @@ -26,7 +26,7 @@ import pl.treksoft.jquery.JQuery import pl.treksoft.jquery.JQueryEventObject import pl.treksoft.kvision.core.Container import pl.treksoft.kvision.core.StyledComponent -import pl.treksoft.kvision.core.Unit +import pl.treksoft.kvision.core.UNIT import pl.treksoft.kvision.html.TAG import pl.treksoft.kvision.html.Tag import pl.treksoft.kvision.utils.obj @@ -67,7 +67,7 @@ open class SplitPanel( internal fun afterInsertSplitter() { if (children.size == 2) { val horizontal = direction == Direction.HORIZONTAL - val px = Unit.px + val px = UNIT.px val self = this children[0].getElementJQueryD().resizable(obj { handleSelector = "#" + splitter.id |