You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Fix #7262
Disable PopupMenu hiding in snap settings of the TextureRegion editor and Edit menu of the scene
This commit is contained in:
@@ -790,6 +790,7 @@ TextureRegionEditor::TextureRegionEditor(EditorNode *p_editor) {
|
||||
hb_tools->add_child(snap_mode_button);
|
||||
snap_mode_button->set_text(TTR("<None>"));
|
||||
PopupMenu *p = snap_mode_button->get_popup();
|
||||
p->set_hide_on_checkable_item_selection(false);
|
||||
p->add_item(TTR("<None>"), 0);
|
||||
p->add_item(TTR("Pixel Snap"), 1);
|
||||
p->add_item(TTR("Grid Snap"), 2);
|
||||
|
||||
Reference in New Issue
Block a user