From d8baa21e4e387c03bc882e25f7bf970ebdfc3528 Mon Sep 17 00:00:00 2001 From: Nordup Date: Tue, 8 Oct 2024 04:57:55 +0400 Subject: [PATCH] fix focus styles --- app/scenes/components/result.tscn | 1 + app/scenes/menu_body/world.tscn | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/scenes/components/result.tscn b/app/scenes/components/result.tscn index 3c0c0af..e9cc717 100644 --- a/app/scenes/components/result.tscn +++ b/app/scenes/components/result.tscn @@ -41,6 +41,7 @@ grow_vertical = 2 theme_override_styles/normal = SubResource("StyleBoxFlat_7mafe") theme_override_styles/hover = SubResource("StyleBoxFlat_37xan") theme_override_styles/pressed = SubResource("StyleBoxFlat_37xan") +theme_override_styles/focus = SubResource("StyleBoxFlat_37xan") script = ExtResource("1_b6nfm") gate_events = ExtResource("2_wgd6i") url = NodePath("HBoxContainer/VBoxContainer/SpanLimiter/HBoxContainer/Url") diff --git a/app/scenes/menu_body/world.tscn b/app/scenes/menu_body/world.tscn index 5efae97..761b4f4 100644 --- a/app/scenes/menu_body/world.tscn +++ b/app/scenes/menu_body/world.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=32 format=3 uid="uid://kywrsqro3d5i"] +[gd_scene load_steps=33 format=3 uid="uid://kywrsqro3d5i"] [ext_resource type="Script" path="res://scripts/loading/gate_loader.gd" id="1_uxhy6"] [ext_resource type="Resource" uid="uid://b1xvdym0qh6td" path="res://resources/gate_events.res" id="2_q7cvi"] @@ -40,6 +40,8 @@ corner_radius_bottom_left = 25 [sub_resource type="LabelSettings" id="LabelSettings_i1x1e"] font_size = 32 +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_27sha"] + [sub_resource type="Animation" id="Animation_beyyv"] length = 0.001 tracks/0/type = "value" @@ -432,6 +434,7 @@ theme_override_font_sizes/bold_font_size = 24 theme_override_font_sizes/italics_font_size = 24 theme_override_font_sizes/bold_italics_font_size = 24 theme_override_font_sizes/mono_font_size = 24 +theme_override_styles/focus = SubResource("StyleBoxEmpty_27sha") bbcode_enabled = true context_menu_enabled = true selection_enabled = true