mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Fix crash when opening the tile mode offsets dialog
This commit is contained in:
parent
94735fc08b
commit
e10b0d1b08
|
@ -3,7 +3,7 @@ extends Node2D
|
||||||
var tiles: Tiles
|
var tiles: Tiles
|
||||||
var draw_center := false
|
var draw_center := false
|
||||||
|
|
||||||
@onready var canvas := get_parent() as Canvas
|
@onready var canvas := Global.canvas
|
||||||
|
|
||||||
|
|
||||||
func _draw() -> void:
|
func _draw() -> void:
|
||||||
|
|
Loading…
Reference in a new issue