1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Removed canvas.line_2d references from SelectionRectangle.gd

This commit is contained in:
OverloadedOrama 2020-06-11 00:05:19 +03:00
parent 860173d9a1
commit e94e57ea09

View file

@ -66,8 +66,6 @@ func _process(_delta : float) -> void:
tex.create_from_image(img, 0)
update()
# Makes line2d invisible
Global.canvas.line_2d.default_color = Color(0, 0, 0, 0)
else:
get_parent().get_parent().mouse_default_cursor_shape = Input.CURSOR_ARROW
@ -106,9 +104,6 @@ func _process(_delta : float) -> void:
Global.canvas.handle_redo("Rectangle Select") # Redo
# Makes line2d visible
Global.canvas.line_2d.default_color = Color.darkgray
if Global.current_project.selected_pixels.size() > 0:
# Handle copy
if Input.is_action_just_pressed("copy"):