From c3aff33f461b765d0a3a7fea7c3636eaff4c33f9 Mon Sep 17 00:00:00 2001 From: Face <69168154+face-hh@users.noreply.github.com> Date: Thu, 31 Jul 2025 16:15:47 +0300 Subject: [PATCH] fix browser UI being off --- Scenes/main.tscn | 4 ++-- Scripts/Utils/BackgroundUtils.gd | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Scenes/main.tscn b/Scenes/main.tscn index 4be2b05..a72adce 100644 --- a/Scenes/main.tscn +++ b/Scenes/main.tscn @@ -201,7 +201,7 @@ texture = ExtResource("3_8gbba") stretch_mode = 5 [node name="Spacer3" type="Control" parent="VBoxContainer"] -custom_minimum_size = Vector2(0, 5) +custom_minimum_size = Vector2(0, 2) layout_mode = 2 [node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"] @@ -229,7 +229,7 @@ layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 -offset_top = 125.0 +offset_top = 122.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 diff --git a/Scripts/Utils/BackgroundUtils.gd b/Scripts/Utils/BackgroundUtils.gd index e37f556..f06d446 100644 --- a/Scripts/Utils/BackgroundUtils.gd +++ b/Scripts/Utils/BackgroundUtils.gd @@ -114,4 +114,4 @@ static func create_panel_container_with_background(styles: Dictionary) -> PanelC return panel_container static func needs_background_wrapper(styles: Dictionary) -> bool: - return styles.has("background-color") or styles.has("border-radius") or styles.has("padding") or styles.has("padding-top") or styles.has("padding-right") or styles.has("padding-bottom") or styles.has("padding-left") \ No newline at end of file + return styles.has("background-color") or styles.has("border-radius") or styles.has("padding") or styles.has("padding-top") or styles.has("padding-right") or styles.has("padding-bottom") or styles.has("padding-left")