Merge pull request #64377 from Mickeon/rename-canvas-redraw

Rename `CanvasItem.update()` to `queue_redraw()`
This commit is contained in:
Rémi Verschelde
2022-08-30 14:47:41 +02:00
committed by GitHub
111 changed files with 1354 additions and 1354 deletions

View File

@@ -318,7 +318,7 @@ void EditorProfiler::_update_plot() {
graph_texture->update(img);
graph->set_texture(graph_texture);
graph->update();
graph->queue_redraw();
}
void EditorProfiler::_update_frame() {
@@ -421,7 +421,7 @@ void EditorProfiler::_graph_tex_draw() {
void EditorProfiler::_graph_tex_mouse_exit() {
hover_metric = -1;
graph->update();
graph->queue_redraw();
}
void EditorProfiler::_cursor_metric_changed(double) {
@@ -429,7 +429,7 @@ void EditorProfiler::_cursor_metric_changed(double) {
return;
}
graph->update();
graph->queue_redraw();
_update_frame();
}
@@ -480,13 +480,13 @@ void EditorProfiler::_graph_tex_input(const Ref<InputEvent> &p_ev) {
}
}
graph->update();
graph->queue_redraw();
}
}
void EditorProfiler::disable_seeking() {
seeking = false;
graph->update();
graph->queue_redraw();
}
void EditorProfiler::_combo_changed(int) {