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