Rename TextureRect.expand to ignore_texture_size

This commit is contained in:
kobewi
2021-11-30 01:21:45 +01:00
parent 6e4da909aa
commit 562fc4cc0d
10 changed files with 30 additions and 38 deletions

View File

@ -786,7 +786,7 @@ EditorVisualProfiler::EditorVisualProfiler() {
variables->connect("cell_selected", callable_mp(this, &EditorVisualProfiler::_item_selected));
graph = memnew(TextureRect);
graph->set_expand(true);
graph->set_ignore_texture_size(true);
graph->set_mouse_filter(MOUSE_FILTER_STOP);
//graph->set_ignore_mouse(false);
graph->connect("draw", callable_mp(this, &EditorVisualProfiler::_graph_tex_draw));