From 53bb97d97233e04fe2ffa7b824e435a6bf6645e6 Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Mon, 10 Apr 2023 18:37:15 +0200 Subject: [PATCH] Improve Button Theme Animation --- Assets/UI/Button/focus.tres | 2 +- Assets/UI/Button/pressed.tres | 2 +- Assets/UI/UI_Theme.tres | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/UI/Button/focus.tres b/Assets/UI/Button/focus.tres index cf3dd0a..749443c 100644 --- a/Assets/UI/Button/focus.tres +++ b/Assets/UI/Button/focus.tres @@ -3,6 +3,6 @@ [resource] color = Color(0.168627, 0.662745, 0.705882, 1) grow_begin = 0.0 -grow_end = -8.0 +grow_end = 0.0 thickness = 8 vertical = true diff --git a/Assets/UI/Button/pressed.tres b/Assets/UI/Button/pressed.tres index 776af6b..b9a1bed 100644 --- a/Assets/UI/Button/pressed.tres +++ b/Assets/UI/Button/pressed.tres @@ -7,5 +7,5 @@ content_margin_right = 16.0 content_margin_bottom = 16.0 bg_color = Color(0.560784, 0.270588, 0.458824, 1) border_width_bottom = 8 -border_color = Color(0.768627, 0.364706, 0.623529, 1) +border_color = Color(0.560784, 0.270588, 0.458824, 1) corner_detail = 1 diff --git a/Assets/UI/UI_Theme.tres b/Assets/UI/UI_Theme.tres index 169cf14..5c2d7c9 100644 --- a/Assets/UI/UI_Theme.tres +++ b/Assets/UI/UI_Theme.tres @@ -41,7 +41,7 @@ [ext_resource type="StyleBox" uid="uid://0jfr1uwuog0s" path="res://Assets/UI/Slider/v/background.tres" id="26_1odpk"] [ext_resource type="StyleBox" uid="uid://ddfin4k7slkmn" path="res://Assets/UI/Tab/tap_unselected.tres" id="26_pgono"] -[sub_resource type="Image" id="Image_im0s2"] +[sub_resource type="Image" id="Image_rlyln"] data = { "data": PackedByteArray(255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0), "format": "RGBA8", @@ -51,7 +51,7 @@ data = { } [sub_resource type="ImageTexture" id="ImageTexture_g5bup"] -image = SubResource("Image_im0s2") +image = SubResource("Image_rlyln") [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_sj7h5"]