Skip to content

Commit

Permalink
spotless apply.
Browse files Browse the repository at this point in the history
  • Loading branch information
abouzerda committed Aug 17, 2023
1 parent 4486cd3 commit 40b85fa
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,13 @@ object CameraPaneBuilder {
val node =
ZoomableScrollPane(
(NodeBuilder.build(scene, container.target) as Pane).apply {
container.target.widthProperty.addListenerAndInvoke(container.target.width) { _, nV -> minWidth = nV }
container.target.heightProperty.addListenerAndInvoke(container.target.height) { _, nV -> minHeight = nV }
container.target.widthProperty.addListenerAndInvoke(container.target.width) { _, nV ->
minWidth = nV
}
container.target.heightProperty.addListenerAndInvoke(container.target.height) { _, nV
->
minHeight = nV
}
},
container)

Expand Down

0 comments on commit 40b85fa

Please sign in to comment.