Skip to content

Commit

Permalink
Temporary fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ashitikov committed Jun 28, 2019
1 parent 1ba3c4a commit 9cee698
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/ASDisplayNode+Layout.mm
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,10 @@ - (void)_u_measureNodeWithBoundsIfNecessary:(CGRect)bounds
[self _u_setNeedsLayoutFromAbove];
__instanceLock__.lock();
}

// Temporary change. Waiting for new version
// Reference: https://github.com/TextureGroup/Texture/pull/1434
_pendingDisplayNodeLayout.layout = nil;

// Update the layout's version here because _u_setNeedsLayoutFromAbove calls __setNeedsLayout which in turn increases _layoutVersion
// Failing to do this will cause the layout to be invalid immediately
Expand Down

0 comments on commit 9cee698

Please sign in to comment.