You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Use Core/Scene stringnames consistently
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user