HanSolo / medusa

A JavaFX library for Gauges
Apache License 2.0
693 stars 131 forks source link

Problems with startFromZero property. #105

Closed claudio-rosati closed 7 years ago

claudio-rosati commented 7 years ago

Gauge.setStartFromZero:1379 and Gauge.startFromZeroProperty:1389 set the current value to a new one depending on the new startFromZero property value.

This pose a serious problem (Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: Gauge.value : A bound value cannot be set) if the value property is unidirectionally bounded.

Can these two statements be removed? (I don't understand the advantage of keeping them)

HanSolo commented 7 years ago

Fix with commit 4f5bd77e265399c613060cb8f3d35eb707f008ba