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

@ -1,5 +1,8 @@
extends ConfirmationDialog
func _ready() -> void:
$OptionsContainer/OutlineColor.get_picker().presets_visible = false
func _on_OutlineDialog_confirmed() -> void:
var outline_color : Color = $OptionsContainer/OutlineColor.color
var thickness : int = $OptionsContainer/ThickValue.value