Cleaned adjust_hsv in Canvas.gd a bit

Removed duplicate code & made it faster for selections
This commit is contained in:
OverloadedOrama 2020-04-17 04:35:47 +03:00
parent a3b01873a2
commit 699dfbe091
2 changed files with 37 additions and 75 deletions

View file

@ -40,10 +40,8 @@ func _on_PopupMenu_id_pressed(ID : int) -> void:
match ID:
0: # Remove Frame
remove_frame()
1: # Clone Frame
Global.animation_timeline._on_CopyFrame_pressed(frame)
2: # Move Left
change_frame_order(-1)
3: # Move Right