godot
godot copied to clipboard
Fix `TreeItem` `get_prev*` methods when `p_wrap` is `true`
Fixes #85032
The code that fix the issue is courtesy of @Jesusemora, I just added unit tests for it and did a rebase with the latest changes on master.