We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e8a6fb0 + 58e66c9 commit dd717ecCopy full SHA for dd717ec
haxe/ui/containers/ButtonBar.hx
@@ -59,7 +59,9 @@ private class SelectedIndex extends DataBehaviour {
59
builder._currentButton = button;
60
}
61
62
- _component.dispatch(new UIEvent(UIEvent.CHANGE));
+ var event = new UIEvent(UIEvent.CHANGE);
63
+ event.previousValue = _previousValue;
64
+ _component.dispatch(event);
65
66
67
@@ -214,4 +216,4 @@ class ButtonBarBuilder extends CompositeBuilder {
214
216
private function showWarning() {
215
217
trace("WARNING: trying to create an instance of 'ButtonBar' directly, use either 'HorizontalButtonBar' or 'VerticalButtonBar'");
218
-}
219
+}
0 commit comments