mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Use Core/Scene stringnames consistently
This commit is contained in:
parent
de196227e1
commit
413c11357d
214 changed files with 650 additions and 765 deletions
|
|
@ -596,8 +596,8 @@ Sprite2DEditor::Sprite2DEditor() {
|
|||
VBoxContainer *vb = memnew(VBoxContainer);
|
||||
debug_uv_dialog->add_child(vb);
|
||||
debug_uv = memnew(Panel);
|
||||
debug_uv->connect("gui_input", callable_mp(this, &Sprite2DEditor::_debug_uv_input));
|
||||
debug_uv->connect("draw", callable_mp(this, &Sprite2DEditor::_debug_uv_draw));
|
||||
debug_uv->connect(SceneStringName(gui_input), callable_mp(this, &Sprite2DEditor::_debug_uv_input));
|
||||
debug_uv->connect(SceneStringName(draw), callable_mp(this, &Sprite2DEditor::_debug_uv_draw));
|
||||
debug_uv->set_custom_minimum_size(Size2(800, 500) * EDSCALE);
|
||||
debug_uv->set_clip_contents(true);
|
||||
vb->add_margin_child(TTR("Preview:"), debug_uv, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue