[gd_scene load_steps=5 format=2] [ext_resource path="res://ui/theme/main.theme" type="Theme" id=1] [ext_resource path="res://ui/colorpicker/ColorPickerButton.gd" type="Script" id=2] [ext_resource path="res://ui/colorpicker/ColorPicker.tscn" type="PackedScene" id=3] [ext_resource path="res://ui/theme/panel.tres" type="StyleBox" id=4] [node name="ColorPickerButton" type="Button"] margin_right = 232.0 margin_bottom = 106.0 focus_mode = 0 theme = ExtResource( 1 ) text = "button" script = ExtResource( 2 ) [node name="Popup" type="PopupPanel" parent="."] margin_left = 50.0 margin_top = 50.0 margin_right = 195.0 margin_bottom = 195.0 rect_min_size = Vector2( 125, 125 ) custom_styles/panel = ExtResource( 4 ) [node name="ColorPicker" parent="Popup" instance=ExtResource( 3 )] anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 10.0 margin_top = 10.0 margin_right = -10.0 margin_bottom = -10.0 [connection signal="popup_hide" from="Popup" to="." method="_on_popup_hidden"] [connection signal="color_changed" from="Popup/ColorPicker" to="." method="changed"] [connection signal="done" from="Popup/ColorPicker" to="." method="done"]