JohnnyOpcode / axiis

Automatically exported from code.google.com/p/axiis
0 stars 0 forks source link

PropertyChangeEvent tracking fails for certain expressions #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In the WedgeStackChartExample change the RotateTransform in outerLabel from

<degrafa:RotateTransform registrationPoint="topRight"
angle="{(transposeLabel(outerWedgeLayout.currentReference) ? 180:0) + 1}"/>

to

<degrafa:RotateTransform registrationPoint="topRight"
angle="{(transposeLabel(outerWedgeLayout.currentReference) ? 180:0)}"/>

This will cause the property change tracking code in BaseLayout to not
catch an event for this property, and the last few labels will be
positioned incorrectly when they enter a state. This can be worked around
by adding an insignificant value to the result of the ternary expression.

Original issue reported on code.google.com by mvand...@gmail.com on 8 Jul 2009 at 2:58

GoogleCodeExporter commented 8 years ago
States no longer rely on tracking PropertyChangeEvents (thank God).

Original comment by mvand...@gmail.com on 4 Dec 2009 at 1:33