add note about event subscription

This commit is contained in:
2018-11-05 10:34:12 -05:00
parent 2510207c97
commit 53ca61ea46

View File

@@ -31,6 +31,8 @@ class SampleController : Controller() {
val height = SimpleIntegerProperty()
init {
// sample event subscription. this is not necessary, but would update the
// width and height labels every time a value in the funge is changed
bf.fungeChanged += { updateFungeLabels() }
updateFungeLabels()