diff --git a/ide/src/main/kotlin/befide/ide/Sample.kt b/ide/src/main/kotlin/befide/ide/Sample.kt index eb66c91..a482529 100644 --- a/ide/src/main/kotlin/befide/ide/Sample.kt +++ b/ide/src/main/kotlin/befide/ide/Sample.kt @@ -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()