From 214f751407e204d2df0589cee3d53de27e77d72d Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 7 Mar 2018 00:00:34 +0100 Subject: Style fix --- src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin/pl') diff --git a/src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt b/src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt index 178baddf..5ac9c6e7 100644 --- a/src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt +++ b/src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt @@ -73,7 +73,7 @@ open class SplitPanel( handleSelector = "#" + splitter.id resizeWidth = !horizontal resizeHeight = horizontal - onDrag = lok@ { e: JQueryEventObject, _: JQuery, newWidth: Int, newHeight: Int, _: dynamic -> + onDrag = lok@{ e: JQueryEventObject, _: JQuery, newWidth: Int, newHeight: Int, _: dynamic -> e.asDynamic()["newWidth"] = newWidth e.asDynamic()["newHeight"] = newHeight self.dispatchEvent("dragSplitPanel", obj { detail = e }) -- cgit