Skip to content

Commit c46624c

Browse files
committed
Committing spotless changes
1 parent 0f1f74c commit c46624c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xr/src/main/java/com/example/xr/scenecore/Entities.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@ private fun resizableComponentExample(session: Session, entity: Entity, executor
8585
resizableComponent.addResizeListener(
8686
executor,
8787
object : ResizeListener {
88-
override fun onResizeEnd(entity: Entity, finalSize: Dimensions){
88+
override fun onResizeEnd(entity: Entity, finalSize: Dimensions) {
8989

90-
//update the size in the component
90+
// update the size in the component
9191
resizableComponent.size = finalSize
9292

93-
//update the Entity to reflect the new size
94-
(entity as SurfaceEntity).canvasShape = SurfaceEntity.CanvasShape.Quad(finalSize.width,finalSize.height)
93+
// update the Entity to reflect the new size
94+
(entity as SurfaceEntity).canvasShape = SurfaceEntity.CanvasShape.Quad(finalSize.width, finalSize.height)
9595
}
9696
},
9797
)

0 commit comments

Comments
 (0)