[Scene] Add SceneStringNames::item_selected

This commit is contained in:
A Thousand Ships 2024-05-14 14:21:31 +02:00
parent 0a83e7c5da
commit d9e2fc74c7
No known key found for this signature in database
GPG key ID: 2033189A662F8BD7
58 changed files with 135 additions and 131 deletions

View file

@ -2091,7 +2091,7 @@ SpriteFramesEditor::SpriteFramesEditor() {
split_sheet_order->add_item(TTR("Top to Bottom, Right to Left"), FRAME_ORDER_TOP_BOTTOM_RIGHT_LEFT);
split_sheet_order->add_item(TTR("Bottom to Top, Left to Right"), FRAME_ORDER_BOTTOM_TOP_LEFT_RIGHT);
split_sheet_order->add_item(TTR("Bottom to Top, Right to Left"), FRAME_ORDER_BOTTOM_TOP_RIGHT_LEFT);
split_sheet_order->connect("item_selected", callable_mp(this, &SpriteFramesEditor::_sheet_order_selected));
split_sheet_order->connect(SceneStringName(item_selected), callable_mp(this, &SpriteFramesEditor::_sheet_order_selected));
split_sheet_menu_hb->add_child(split_sheet_order);
Button *select_all = memnew(Button);