`update` was renamed `queue_redraw`

master
Marc Gilleron 2022-09-01 01:31:37 +01:00
parent cd6f5d396a
commit 45d57bd0e5
2 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ void ChartView::set_points(Span<const Vector2> points) {
_points.write[i] = points[i];
}
update();
queue_redraw();
}
void ChartView::auto_fit_view(Vector2 margin_ratios) {
@ -44,7 +44,7 @@ void ChartView::auto_fit_view(Vector2 margin_ratios) {
_view_min -= view_size * margin_ratios;
_view_max += view_size * margin_ratios;
update();
queue_redraw();
}
void ChartView::_notification(int p_what) {

View File

@ -253,7 +253,7 @@ void VoxelGraphEditorNode::set_profiling_ratio_visible(bool visible) {
return;
}
_profiling_ratio_enabled = visible;
update();
queue_redraw();
}
void VoxelGraphEditorNode::set_profiling_ratio(float ratio) {
@ -261,7 +261,7 @@ void VoxelGraphEditorNode::set_profiling_ratio(float ratio) {
return;
}
_profiling_ratio = ratio;
update();
queue_redraw();
}
// Color has no lerp??