Rename TextureRect.expand to ignore_texture_size
This commit is contained in:
parent
6e4da909aa
commit
562fc4cc0d
10 changed files with 30 additions and 38 deletions
|
|
@ -645,7 +645,7 @@ EditorProfiler::EditorProfiler() {
|
|||
variables->connect("item_edited", callable_mp(this, &EditorProfiler::_item_edited));
|
||||
|
||||
graph = memnew(TextureRect);
|
||||
graph->set_expand(true);
|
||||
graph->set_ignore_texture_size(true);
|
||||
graph->set_mouse_filter(MOUSE_FILTER_STOP);
|
||||
graph->connect("draw", callable_mp(this, &EditorProfiler::_graph_tex_draw));
|
||||
graph->connect("gui_input", callable_mp(this, &EditorProfiler::_graph_tex_input));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue