diff options
Diffstat (limited to 'UI/HUD/CancelButton.tscn')
-rw-r--r-- | UI/HUD/CancelButton.tscn | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/UI/HUD/CancelButton.tscn b/UI/HUD/CancelButton.tscn index 27441cb..e069083 100644 --- a/UI/HUD/CancelButton.tscn +++ b/UI/HUD/CancelButton.tscn @@ -1,28 +1,24 @@ -[gd_scene load_steps=4 format=2] +[gd_scene load_steps=4 format=3 uid="uid://c1t4wotcq114x"] -[ext_resource path="res://UI/HUD/CancelButton.gd" type="Script" id=1] +[ext_resource type="Script" path="res://UI/HUD/CancelButton.gd" id="1"] -[sub_resource type="StyleBoxFlat" id=2] -bg_color = Color( 0, 0, 0, 1 ) - -[sub_resource type="StyleBoxFlat" id=1] -bg_color = Color( 0.6, 0.6, 0.6, 0 ) +[sub_resource type="StyleBoxFlat" id="1"] +bg_color = Color(0.6, 0.6, 0.6, 0) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 -border_color = Color( 0, 0, 0, 1 ) +border_color = Color(0, 0, 0, 1) + +[sub_resource type="StyleBoxFlat" id="2"] +bg_color = Color(0, 0, 0, 1) [node name="CancelButton" type="Button"] -anchor_right = 1.0 -anchor_bottom = 1.0 -margin_top = 576.0 -margin_right = -960.0 -custom_styles/hover = SubResource( 2 ) -custom_styles/normal = SubResource( 1 ) +offset_right = 159.0 +offset_bottom = 62.0 +theme_override_styles/normal = SubResource("1") +theme_override_styles/hover = SubResource("2") text = "Cancel" -script = ExtResource( 1 ) -__meta__ = { -"_edit_use_anchors_": false -} +script = ExtResource("1") + [connection signal="pressed" from="." to="." method="_on_CancelButton_pressed"] |