mirror of
https://github.com/Relintai/draw_gd.git
synced 2025-02-08 15:30:05 +01:00
Fix palette editor.
This commit is contained in:
parent
9bb236c966
commit
7cf6ced375
@ -17,7 +17,14 @@ onready var dummyBtn = $DummyBtn
|
|||||||
|
|
||||||
var DrawGD : Node = null
|
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
|
$VBoxContainer/HBoxContainer/EditPaletteColorPicker.presets_visible = false
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user