Skip to content

Conversation

@florianmari
Copy link
Contributor

@florianmari florianmari commented Jan 5, 2024

Not 100% sure about this one but the crash happened to me a lot, moving a node to the top lead to a crash because index is negative, just put the condition after the offset correction and seems to resolve the crash issue

Edit: Finally I have prevented bug with condition around the for to avoid any potential creation of other bugs, need to find later why this index can become negative, crash it not happening anymore

@florianmari
Copy link
Contributor Author

Next step: need to fix the drag animation

@florianmari florianmari changed the title Fix crash when moving nodes Fix crash when moving nodes to the top Jan 5, 2024
@remstos
Copy link
Contributor

remstos commented Jan 7, 2024

Knowing why there’s a negative index would be nice, be otherwise that’s a cool guard 🙏

@florianmari
Copy link
Contributor Author

Yes totally I'm gonna invest deeper next week on that

@florianmari florianmari added the bug Something isn't working label Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working WIP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants