Fix palette editor.

This commit is contained in:
Relintai 2020-11-29 22:01:13 +01:00
parent 9bb236c966
commit 7cf6ced375

View File

@ -17,7 +17,14 @@ onready var dummyBtn = $DummyBtn
var DrawGD : Node = null
func _ready() -> void:
func _enter_tree() -> void:
var n : Node = get_parent()
while n:
if n.name == "DrawGDSingleton":
DrawGD = n
break
n = n.get_parent()
$VBoxContainer/HBoxContainer/EditPaletteColorPicker.presets_visible = false