Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update graph_edit.cpp #856

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/editor/graph/graph_edit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -598,8 +598,8 @@ void OrchestratorGraphEdit::_gui_input(const Ref<InputEvent>& 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.");
}
}

Expand All @@ -610,7 +610,7 @@ void OrchestratorGraphEdit::_gui_input(const Ref<InputEvent>& 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());
}
Expand All @@ -623,7 +623,7 @@ void OrchestratorGraphEdit::_gui_input(const Ref<InputEvent>& 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
Expand Down Expand Up @@ -2301,4 +2301,4 @@ void OrchestratorGraphEdit::_on_grid_style_selected(int p_index)
const GridPattern pattern = static_cast<GridPattern>(int(_grid_pattern->get_item_metadata(p_index)));
set_grid_pattern(pattern);
}
#endif
#endif
Loading