mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
Set previous tool buttons in the Polygon2D editor to be flat again
This commit is contained in:
parent
5bb7c7c367
commit
3b0cb48bcd
@ -1269,6 +1269,7 @@ Polygon2DEditor::Polygon2DEditor(EditorNode *p_editor) :
|
||||
uv_main_vb->add_child(uv_mode_hb);
|
||||
for (int i = 0; i < UV_MODE_MAX; i++) {
|
||||
uv_button[i] = memnew(Button);
|
||||
uv_button[i]->set_flat(true);
|
||||
uv_button[i]->set_toggle_mode(true);
|
||||
uv_mode_hb->add_child(uv_button[i]);
|
||||
uv_button[i]->connect("pressed", callable_mp(this, &Polygon2DEditor::_uv_mode), varray(i));
|
||||
|
Loading…
Reference in New Issue
Block a user