Skip to content

Commit

Permalink
remove thick white outline when CollapseContainer is pressed and focus
Browse files Browse the repository at this point in the history
  • Loading branch information
RorotoSic committed Mar 15, 2024
1 parent fd80248 commit b80ab1a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/Tools/BaseDraw.tscn
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
[gd_scene load_steps=8 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"]
[ext_resource type="Script" path="res://src/Tools/BaseDraw.gd" id="3"]
[ext_resource type="Script" path="res://src/UI/Nodes/CollapsibleContainer.gd" id="3_76bek"]

[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_0i4gy"]

[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_dlpcn"]

[sub_resource type="Theme" id="Theme_i7q3e"]
Button/styles/focus = SubResource("StyleBoxEmpty_0i4gy")
Button/styles/pressed = SubResource("StyleBoxEmpty_dlpcn")

[sub_resource type="ButtonGroup" id="ButtonGroup_7u3x0"]
resource_name = "rotate"
allow_unpress = true
Expand Down Expand Up @@ -33,6 +41,7 @@ script = ExtResource("3")
[node name="RotationOptions" type="VBoxContainer" parent="." index="2"]
visible = false
layout_mode = 2
theme = SubResource("Theme_i7q3e")
theme_type_variation = &"CollapsibleContainer"
script = ExtResource("3_76bek")
text = "Rotation options"
Expand Down

0 comments on commit b80ab1a

Please sign in to comment.