From 77bf290155cbfa6d389c4937bf2a5a34dd5b33bd Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 15 Nov 2019 09:07:05 +0100 Subject: Fix an issue with high CPU utilization in IntelliJ by introducing new onEvent extension function and changing the names of some style methods --- .../src/main/kotlin/pl/treksoft/kvision/modal/Alert.kt | 4 ++-- .../src/main/kotlin/pl/treksoft/kvision/modal/Confirm.kt | 6 +++--- .../src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt | 2 +- .../src/main/kotlin/pl/treksoft/kvision/panel/TabPanel.kt | 2 +- .../src/main/kotlin/pl/treksoft/kvision/window/Window.kt | 6 +++--- 5 files changed, 10 insertions(+), 10 deletions(-) (limited to 'kvision-modules/kvision-bootstrap') diff --git a/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/modal/Alert.kt b/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/modal/Alert.kt index 4c5b222e..852820af 100644 --- a/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/modal/Alert.kt +++ b/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/modal/Alert.kt @@ -77,13 +77,13 @@ open class Alert( init { body.add(contentTag) val okButton = Button("OK", "fas fa-check", ButtonStyle.PRIMARY) - okButton.setEventListener { + okButton.setEventListener