From 2e36473839b76d3955c5f1c04da255a82bd4a5d5 Mon Sep 17 00:00:00 2001 From: ShalokShalom Date: Mon, 20 Jan 2025 16:09:38 +0100 Subject: [PATCH] Update graph_edit.cpp Clarify wording: "left click" instead "LMB" --- src/editor/graph/graph_edit.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/editor/graph/graph_edit.cpp b/src/editor/graph/graph_edit.cpp index 22073495..13180757 100644 --- a/src/editor/graph/graph_edit.cpp +++ b/src/editor/graph/graph_edit.cpp @@ -598,8 +598,8 @@ void OrchestratorGraphEdit::_gui_input(const Ref& p_event) _hovered_connection = get_closest_connection_at_point(mm->get_position()); if (!_hovered_connection.is_empty()) { - _show_drag_hint("Use Ctrl+LMB to add a knot to the connection.\n" - "Hover over an existing knot and pressing Ctrl+LMB will remove it."); + _show_drag_hint("Use Ctrl + left click to add a knot to the connection.\n" + "Hover over an existing knot and pressing Ctrl + left click will remove it."); } } @@ -610,7 +610,7 @@ void OrchestratorGraphEdit::_gui_input(const Ref& p_event) { if (mb->get_modifiers_mask().has_flag(KEY_MASK_CTRL)) { - // CTRL+LMB adds a knot to the connection that can then be moved. + // CTRL + left click adds a knot to the connection that can then be moved. if (!_hovered_connection.is_empty()) _create_connection_knot(_hovered_connection, mb->get_position()); } @@ -623,7 +623,7 @@ void OrchestratorGraphEdit::_gui_input(const Ref& p_event) { if (mb->get_button_index() == MOUSE_BUTTON_LEFT && mb->is_pressed()) { - // This checks whether the LMB click should trigger box-selection + // This checks whether the left click should trigger box-selection // // While GraphEdit manages this, this information isn't directly exposed as signals, and our // implementation needs this detail to know if we should ignore selecting specific custom @@ -2301,4 +2301,4 @@ void OrchestratorGraphEdit::_on_grid_style_selected(int p_index) const GridPattern pattern = static_cast(int(_grid_pattern->get_item_metadata(p_index))); set_grid_pattern(pattern); } -#endif \ No newline at end of file +#endif