mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-26 00:34:43 -04:00
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:
parent
3cf44a6d55
commit
91b21a52f5
3 changed files with 9 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue