From 24cb05a990782b4d0f325f40dd0e783290a127b7 Mon Sep 17 00:00:00 2001 From: RorotoSic <70805756+RorotoSic@users.noreply.github.com> Date: Sat, 16 Mar 2024 14:44:07 +0100 Subject: [PATCH] Revert "styleboxflat when CollapseContainer is pressed and empty for checkbox" This reverts commit 0af0e1f427d33ccfc57b7a69e95e0db2d661e771. --- src/Tools/BaseDraw.tscn | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/src/Tools/BaseDraw.tscn b/src/Tools/BaseDraw.tscn index 9b2ff3ff200..b1918d5f9b0 100644 --- a/src/Tools/BaseDraw.tscn +++ b/src/Tools/BaseDraw.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=12 format=3 uid="uid://ubyatap3sylf"] +[gd_scene load_steps=11 format=3 uid="uid://ubyatap3sylf"] [ext_resource type="PackedScene" uid="uid://yjhp0ssng2mp" path="res://src/UI/Nodes/ValueSlider.tscn" id="1"] [ext_resource type="PackedScene" uid="uid://ctfgfelg0sho8" path="res://src/Tools/BaseTool.tscn" id="2"] @@ -7,24 +7,11 @@ [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_0i4gy"] -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_024wk"] -content_margin_left = 4.0 -content_margin_top = 4.0 -content_margin_right = 4.0 -content_margin_bottom = 4.0 -bg_color = Color(0.1, 0.1, 0.1, 0.6) -corner_radius_top_left = 3 -corner_radius_top_right = 3 -corner_radius_bottom_right = 3 -corner_radius_bottom_left = 3 -corner_detail = 5 - -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_51tm8"] +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_dlpcn"] [sub_resource type="Theme" id="Theme_i7q3e"] Button/styles/focus = SubResource("StyleBoxEmpty_0i4gy") -Button/styles/pressed = SubResource("StyleBoxFlat_024wk") -CheckBox/styles/pressed = SubResource("StyleBoxEmpty_51tm8") +Button/styles/pressed = SubResource("StyleBoxEmpty_dlpcn") [sub_resource type="ButtonGroup" id="ButtonGroup_7u3x0"] resource_name = "rotate"