From 489db67458bfad8dc26bcabfb98e192da80c0a18 Mon Sep 17 00:00:00 2001 From: Lukas Jost Date: Mon, 7 Sep 2026 17:49:39 +0200 Subject: [PATCH] style: apply updated Kotlin formatting --- .../gg/grounds/scene/editor/catalog/SceneCatalogBinding.kt | 4 +++- .../gg/grounds/scene/editor/tool/TransformMathTest.kt | 7 +++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/common/src/main/kotlin/gg/grounds/scene/editor/catalog/SceneCatalogBinding.kt b/common/src/main/kotlin/gg/grounds/scene/editor/catalog/SceneCatalogBinding.kt index 029bcd5..5f9a246 100644 --- a/common/src/main/kotlin/gg/grounds/scene/editor/catalog/SceneCatalogBinding.kt +++ b/common/src/main/kotlin/gg/grounds/scene/editor/catalog/SceneCatalogBinding.kt @@ -27,7 +27,9 @@ private constructor( ) : this( assets, actions, - { reference -> actions.takeIf { it.id == reference.id && it.version == reference.version } }, + { reference -> + actions.takeIf { it.id == reference.id && it.version == reference.version } + }, ) val references: SceneCatalogReferences = diff --git a/common/src/test/kotlin/gg/grounds/scene/editor/tool/TransformMathTest.kt b/common/src/test/kotlin/gg/grounds/scene/editor/tool/TransformMathTest.kt index 39df8d5..bf4f115 100644 --- a/common/src/test/kotlin/gg/grounds/scene/editor/tool/TransformMathTest.kt +++ b/common/src/test/kotlin/gg/grounds/scene/editor/tool/TransformMathTest.kt @@ -30,7 +30,9 @@ class TransformMathTest { fun `adjusts every component with signed steps and canonical rotation`() { assertEquals( 0.99, - TransformMath.adjust(transform, TransformComponent.X, TransformStep.FINE, -1).position.x, + TransformMath.adjust(transform, TransformComponent.X, TransformStep.FINE, -1) + .position + .x, ) assertEquals( 2.1, @@ -64,7 +66,8 @@ class TransformMathTest { ) assertEquals( Vec3(1.25, 1.25, 1.25), - TransformMath.adjust(transform, TransformComponent.SCALE, TransformStep.COARSE, 1).scale, + TransformMath.adjust(transform, TransformComponent.SCALE, TransformStep.COARSE, 1) + .scale, ) }