You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
[Core] Rename linear_interpolate to lerp
This commit is contained in:
@@ -1742,7 +1742,7 @@ void ScriptEditor::_update_script_colors() {
|
||||
int non_zero_hist_size = (hist_size == 0) ? 1 : hist_size;
|
||||
float v = Math::ease((edit_pass - pass) / float(non_zero_hist_size), 0.4);
|
||||
|
||||
script_list->set_item_custom_fg_color(i, hot_color.linear_interpolate(cold_color, v));
|
||||
script_list->set_item_custom_fg_color(i, hot_color.lerp(cold_color, v));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user