You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #64377 from Mickeon/rename-canvas-redraw
Rename `CanvasItem.update()` to `queue_redraw()`
This commit is contained in:
@@ -1124,15 +1124,15 @@ void ScriptTextEditor::_edit_option(int p_op) {
|
||||
} break;
|
||||
case EDIT_TOGGLE_FOLD_LINE: {
|
||||
tx->toggle_foldable_line(tx->get_caret_line());
|
||||
tx->update();
|
||||
tx->queue_redraw();
|
||||
} break;
|
||||
case EDIT_FOLD_ALL_LINES: {
|
||||
tx->fold_all_lines();
|
||||
tx->update();
|
||||
tx->queue_redraw();
|
||||
} break;
|
||||
case EDIT_UNFOLD_ALL_LINES: {
|
||||
tx->unfold_all_lines();
|
||||
tx->update();
|
||||
tx->queue_redraw();
|
||||
} break;
|
||||
case EDIT_TOGGLE_COMMENT: {
|
||||
_edit_option_toggle_inline_comment();
|
||||
@@ -1760,7 +1760,7 @@ void ScriptTextEditor::_color_changed(const Color &p_color) {
|
||||
code_editor->get_text_editor()->begin_complex_operation();
|
||||
code_editor->get_text_editor()->set_line(color_position.x, line_with_replaced_args);
|
||||
code_editor->get_text_editor()->end_complex_operation();
|
||||
code_editor->get_text_editor()->update();
|
||||
code_editor->get_text_editor()->queue_redraw();
|
||||
}
|
||||
|
||||
void ScriptTextEditor::_prepare_edit_menu() {
|
||||
|
||||
Reference in New Issue
Block a user