Angle between last drawn pixel and line is now appearing on the top when drawing a straight line

Also straight lines work with LightenDarken now, and moved the Seconds Timeline a bit to the left
This commit is contained in:
OverloadedOrama 2019-12-19 03:15:23 +02:00
parent 3cf44a6d55
commit 91b21a52f5
3 changed files with 9 additions and 2 deletions

View file

@ -21,7 +21,7 @@ func _draw() -> void:
var minor_subdivide := Transform2D()
var fps = Global.control.fps
var horizontal_scroll = get_parent().get_node("FrameAndButtonContainer").get_node("ScrollContainer").scroll_horizontal
var starting_pos := Vector2(26, 26)
var starting_pos := Vector2(10, 10)
transform.x = Vector2(fps, fps) / 2.52
transform.origin = starting_pos - Vector2(horizontal_scroll, horizontal_scroll)