mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-20 16:20:18 +01:00
Make HEAD not draggable
This commit is contained in:
parent
814caca382
commit
c343546473
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ func _on_unhover():
|
|||
|
||||
func _input(event):
|
||||
if hovered:
|
||||
if event.is_action_pressed("click"):
|
||||
if event.is_action_pressed("click") and type != "head":
|
||||
start_pos = get_viewport().get_mouse_position()
|
||||
held = true
|
||||
elif event.is_action_pressed("right_click"):
|
||||
|
|
Loading…
Reference in a new issue