Skip to content

Commit

Permalink
Merge pull request #629 from Shallowmallow/DatasourceFix
Browse files Browse the repository at this point in the history
Datasource fix on cpp
  • Loading branch information
ianharrigan authored Sep 2, 2024
2 parents 9219223 + 003fc98 commit 79873fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haxe/ui/containers/Box.hx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ private class Builder extends CompositeBuilder {
var childRenderers = _component.findComponents(ItemRenderer, 1);

for (i in 0...dataSource.size) {
var item = dataSource.get(i);
var item:Dynamic = dataSource.get(i); // For some reason without :Dynamic it's null on cpp
var renderer = findRenderer(item, childRenderers);
if (renderer == null && _box.cacheItemRenderers && _cachedItemRenderers != null) {
renderer = findRenderer(item, _cachedItemRenderers);
Expand Down

0 comments on commit 79873fe

Please sign in to comment.