You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Allow negative indexes in ItemList and PopupMenu
This commit is contained in:
@@ -847,7 +847,7 @@ void SpriteFramesEditor::_update_library(bool p_skip_selector) {
|
||||
at = at->get_atlas();
|
||||
}
|
||||
|
||||
tree->set_item_tooltip(tree->get_item_count() - 1, tooltip);
|
||||
tree->set_item_tooltip(-1, tooltip);
|
||||
}
|
||||
if (sel == i) {
|
||||
tree->select(tree->get_item_count() - 1);
|
||||
|
||||
Reference in New Issue
Block a user