fixed button outline when being pressed
authorEduardo <[email protected]>
Tue, 26 Sep 2023 00:44:14 +0000 (02:44 +0200)
committerEduardo <[email protected]>
Tue, 26 Sep 2023 00:44:14 +0000 (02:44 +0200)
themes/default/Default_theme.tres

index e05331cbe6996d7a0b9c5f1201137f236bb196ef..59480afb526c47b79f2210d19cbc3ed0607361cf 100644 (file)
@@ -1,4 +1,4 @@
-[gd_resource type="Theme" load_steps=4 format=3 uid="uid://dk131w4mrmlyj"]
+[gd_resource type="Theme" load_steps=5 format=3 uid="uid://dk131w4mrmlyj"]
 
 [ext_resource type="FontFile" uid="uid://cek5417mq2pbt" path="res://themes/default/fonts/BunnyCute-Regular.otf" id="1_ab6ib"]
 
@@ -13,6 +13,8 @@ shadow_color = Color(1, 0.776471, 0.729412, 1)
 shadow_size = 6
 shadow_offset = Vector2(12, 12)
 
+[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_l3ror"]
+
 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rqaqj"]
 bg_color = Color(0.545098, 0.815686, 0.827451, 1)
 border_color = Color(1, 0.776471, 0.729412, 1)
@@ -27,6 +29,7 @@ shadow_offset = Vector2(4, 4)
 [resource]
 Button/font_sizes/font_size = 64
 Button/styles/disabled = SubResource("StyleBoxFlat_bk2rt")
+Button/styles/focus = SubResource("StyleBoxEmpty_l3ror")
 Button/styles/hover = SubResource("StyleBoxFlat_bk2rt")
 Button/styles/normal = SubResource("StyleBoxFlat_bk2rt")
 Button/styles/pressed = SubResource("StyleBoxFlat_rqaqj")