mirror of
https://github.com/nicbarker/clay.git
synced 2026-07-25 12:28:39 +00:00
[Core] Fix a small issue where subtrees of exiting element were deleted too early
This commit is contained in:
parent
cfee7e8376
commit
2d4862dc6f
1 changed files with 1 additions and 1 deletions
2
clay.h
2
clay.h
|
|
@ -2904,7 +2904,7 @@ void Clay__CalculateFinalLayout(float deltaTime, bool useStoredBoundingBoxes, bo
|
|||
}
|
||||
}
|
||||
// An exiting element that completed its transition this frame - skip tree
|
||||
if (!found) {
|
||||
if (!found && currentElement->config.transition.exit.setFinalState) {
|
||||
dfsBuffer.length--;
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue