mirror of
https://github.com/godotengine/godot.git
synced 2025-10-24 02:13:36 +00:00
Small ux improvement
This commit is contained in:
parent
175942dcd1
commit
d835738045
3 changed files with 8 additions and 0 deletions
|
|
@ -549,6 +549,7 @@ SpriteEditor::SpriteEditor() {
|
|||
options->get_popup()->add_item(TTR("Convert to Polygon2D"), MENU_OPTION_CONVERT_TO_POLYGON_2D);
|
||||
options->get_popup()->add_item(TTR("Create CollisionPolygon2D Sibling"), MENU_OPTION_CREATE_COLLISION_POLY_2D);
|
||||
options->get_popup()->add_item(TTR("Create LightOccluder2D Sibling"), MENU_OPTION_CREATE_LIGHT_OCCLUDER_2D);
|
||||
options->set_switch_on_hover(true);
|
||||
|
||||
options->get_popup()->connect("id_pressed", this, "_menu_option");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue