carlw
07/21/2017, 5:29 PMRuckus
07/21/2017, 6:31 PMby
is already take (so we can't use infix fun <http://Number.by|Number.by>(y: Number)
)? I don't see where.edvin
07/21/2017, 6:32 PMby
a reserved word?edvin
07/21/2017, 6:33 PMval ctrl: MyController by inject()
Ruckus
07/21/2017, 6:56 PMcarlw
07/21/2017, 7:00 PMRuckus
07/21/2017, 7:02 PMRuckus
07/21/2017, 7:03 PMx
, but I'm sure that gets overused a lot. (1 x 1
, 2 x 4 x 8
)dr.fornax
07/21/2017, 7:05 PMdr.fornax
07/21/2017, 7:06 PMdr.fornax
07/21/2017, 7:07 PMcarlw
07/21/2017, 7:23 PMcarlw
07/21/2017, 7:25 PMRuckus
07/21/2017, 7:27 PMcarlw
07/21/2017, 7:28 PMRuckus
07/21/2017, 7:34 PMcarlw
07/21/2017, 7:41 PMcarlw
07/21/2017, 7:53 PMRuckus
07/21/2017, 7:54 PMrects
out to a member variable, but that's usually a good idea.carlw
07/21/2017, 7:56 PMRuckus
07/21/2017, 7:57 PMrunLater
to move data from a thread to the UI.carlw
07/21/2017, 7:58 PMRuckus
07/21/2017, 7:58 PMrunLater
can be squashed to
rects.mapIndexed { i, rect ->
rect.init()
SequentialTransition(
PauseTransition((i * 0.1).seconds),
rect.scale(0.67.seconds, Point2D(0.1, 1.0), play = false),
rect.rotate(0.33.seconds, 90.0, play = false)
)
}.playSequentioally { cycleCount = Timeline.INDEFINITE }
carlw
07/21/2017, 7:59 PMcarlw
07/21/2017, 7:59 PMcarlw
07/21/2017, 8:00 PMRuckus
07/21/2017, 8:02 PMedvin
07/21/2017, 8:16 PMpaddingAll = 20
instead of padding = Insets(20.0)
and we have runLater
instead of Platform.runLater
now 😁edvin
07/21/2017, 8:24 PMRuckus
07/21/2017, 8:25 PM