From 75145a907c863738cfd5bdcb48ccf5c35dfe35d3 Mon Sep 17 00:00:00 2001 From: abouzerda Date: Tue, 21 Nov 2023 15:51:24 +0100 Subject: [PATCH] codestyle refactoring --- .../tools/aqua/bgw/builder/SceneBuilder.kt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/bgw-gui/src/main/kotlin/tools/aqua/bgw/builder/SceneBuilder.kt b/bgw-gui/src/main/kotlin/tools/aqua/bgw/builder/SceneBuilder.kt index 61c91d9ad8..a7783c094b 100644 --- a/bgw-gui/src/main/kotlin/tools/aqua/bgw/builder/SceneBuilder.kt +++ b/bgw-gui/src/main/kotlin/tools/aqua/bgw/builder/SceneBuilder.kt @@ -78,15 +78,15 @@ object SceneBuilder { /** Builds a [Scene] pane. */ private fun buildPane(scene: Scene<*>): Pane { - // register animations - scene.animations.guiListener = { _, _ -> - scene.animations - .filter { t -> !t.isRunning } - .forEach { anim -> - AnimationBuilder.build(scene, anim).play() - anim.isRunning = true - } - } + // register animations + scene.animations.guiListener = { _, _ -> + scene.animations + .filter { t -> !t.isRunning } + .forEach { anim -> + AnimationBuilder.build(scene, anim).play() + anim.isRunning = true + } + } val pane = Pane().apply { prefHeight = scene.height