Hide presets in ColorPickers

This commit is contained in:
Michael Alexsander 2020-02-15 02:34:42 -03:00
parent 543e9d9008
commit f808614384
4 changed files with 13 additions and 0 deletions

View file

@ -11,6 +11,9 @@ onready var palette_grid = $VBoxContainer/HBoxContainer/Panel/ScrollContainer/Ed
onready var color_name_edit = $VBoxContainer/PaletteOptions/EditPaletteColorNameLineEdit
onready var palette_name_edit = $VBoxContainer/PaletteOptions/EditPaletteNameLineEdit
func _ready() -> void:
$VBoxContainer/HBoxContainer/EditPaletteColorPicker.presets_visible = false
func open(palette : String) -> void:
current_palette = palette
palette_name_edit.text = current_palette