diff --git a/src/main/scala/org/gerweck/scalafx/util/observable.scala b/src/main/scala/org/gerweck/scalafx/util/observable.scala index 955339a..63e3ded 100644 --- a/src/main/scala/org/gerweck/scalafx/util/observable.scala +++ b/src/main/scala/org/gerweck/scalafx/util/observable.scala @@ -29,7 +29,7 @@ trait ObservableImplicits { def changeHandler = prop.synchronized { val newVal = recalculate() if (prevValue != newVal) { - prop.value = recalculate() + prop.value = newVal prevValue = newVal } }