Ruckus
11/20/2018, 8:30 PMproperty1.unbindBidirectional(property2)
, so you instead have to call unbind()
on the returned binding. (This is due to private constructors in JavaFX and can't be worked around)Ruckus
11/20/2018, 8:34 PMobject BackgroundColorConverter : Converter<Background, Color> {
override fun convertTo(value: Background) = value.fills.firstOrNull()?.fill as? Color ?: Color.TRANSPARENT
override fun convertFrom(value: Color) = Background(BackgroundFill(value, null, null))
}