From 726751c145b33f82e024787fa7aafcc861712712 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 4 Mar 2018 23:54:19 +0100 Subject: Style fixes. --- src/main/kotlin/pl/treksoft/kvision/panel/Root.kt | 2 +- src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/kotlin/pl/treksoft/kvision/panel') diff --git a/src/main/kotlin/pl/treksoft/kvision/panel/Root.kt b/src/main/kotlin/pl/treksoft/kvision/panel/Root.kt index d81b103d..8223023e 100644 --- a/src/main/kotlin/pl/treksoft/kvision/panel/Root.kt +++ b/src/main/kotlin/pl/treksoft/kvision/panel/Root.kt @@ -54,7 +54,7 @@ class Root(id: String, private val fixed: Boolean = false, init: (Root.() -> Uni } override fun render(): VNode { - return render("div#" + id, childrenVNodes() + modalsVNodes()) + return render("div#$id", childrenVNodes() + modalsVNodes()) } internal fun addModal(modal: Modal) { diff --git a/src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt b/src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt index 3c7acbe5..178baddf 100644 --- a/src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt +++ b/src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt @@ -120,7 +120,7 @@ internal class Splitter(private val splitPanel: SplitPanel, direction: Direction TAG.DIV, classes = setOf("splitter-" + direction.dir) ) { - private val idc = "kv_splitter_" + counter + private val idc = "kv_splitter_$counter" init { counter++ -- cgit