Skip to content

Commit 404aa49

Browse files
authored
Added hints on connection line hover (contributed by williamchange)
Add hints on connection line hover
2 parents 560e8f4 + 2c00094 commit 404aa49

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

material_maker/panels/graph_edit/graph_edit.gd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,9 @@ func _gui_input(event) -> void:
353353
if rect.has_point(get_global_mouse_position()):
354354
mm_globals.set_tip_text("Space/#RMB: Nodes menu, Arrow keys: Pan, Mouse wheel: Zoom", 3)
355355

356+
if get_closest_connection_at_point(get_local_mouse_position()):
357+
mm_globals.set_tip_text("Ctrl + #RMB: Cut connections, Shift + #RMB: Create reroute, Ctrl/Cmd + Shift + #RMB: Create aperture pair")
358+
356359
if ((event.button_mask & MOUSE_BUTTON_MASK_RIGHT) != 0 and valid_drag_cut_entry
357360
and event.relative.length() > 1.0):
358361
if event.ctrl_pressed:

0 commit comments

Comments
 (0)