2021-01-29 22:11:14 +10:30
|
|
|
extends Control
|
2019-12-21 20:42:19 +10:30
|
|
|
|
2021-01-29 22:11:14 +10:30
|
|
|
onready var Viewport := get_node(@'../NoteHandler/Viewport')
|
2020-05-02 16:09:51 +09:30
|
|
|
|
2019-12-21 20:42:19 +10:30
|
|
|
func _draw():
|
2021-01-29 22:11:14 +10:30
|
|
|
draw_texture_rect(Viewport.get_texture(), Rect2(Vector2.ZERO, rect_size), false)
|
|
|
|
# texture = Viewport.get_texture()
|