File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,11 @@ private class RangeEnd extends DataBehaviour {
158
158
@:access (haxe.ui.core. Component )
159
159
private class AllowInteraction extends DefaultBehaviour {
160
160
public override function get (): Variant {
161
- return (_component ._internalEvents != null );
161
+ #if (haxe_ver < 5)
162
+ return _component ._internalEvents != null ;
163
+ #else
164
+ return @:privateAccess Variant .fromBool (_component ._internalEvents != null );
165
+ #end
162
166
}
163
167
164
168
public override function set (value : Variant ) {
@@ -266,4 +270,4 @@ class RangeBuilder extends CompositeBuilder {
266
270
var name = _component .className .split (" ." ).pop ();
267
271
trace (" WARNING: trying to create an instance of '" + name + " ' directly, use either 'Horizontal" + name + " ' or 'Vertical" + name + " '" );
268
272
}
269
- }
273
+ }
You can’t perform that action at this time.
0 commit comments