diff options
author | metamuffin <metamuffin@disroot.org> | 2025-09-21 20:38:39 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-09-21 20:38:39 +0200 |
commit | 0838d2fd7d6f1d0527e48335be6d9f490f0b9b66 (patch) | |
tree | b7cf6d7ab68a88460a615e0beb64e4f452432d85 /client/gui/overlays/debug.tscn | |
parent | 629b5651f9cb9bf4efc727ba8cea3f0b34a384e8 (diff) | |
download | hurrycurry-0838d2fd7d6f1d0527e48335be6d9f490f0b9b66.tar hurrycurry-0838d2fd7d6f1d0527e48335be6d9f490f0b9b66.tar.bz2 hurrycurry-0838d2fd7d6f1d0527e48335be6d9f490f0b9b66.tar.zst |
Add margin and outline to debug overlay
Diffstat (limited to 'client/gui/overlays/debug.tscn')
-rw-r--r-- | client/gui/overlays/debug.tscn | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/client/gui/overlays/debug.tscn b/client/gui/overlays/debug.tscn index 3de36e94..5a954189 100644 --- a/client/gui/overlays/debug.tscn +++ b/client/gui/overlays/debug.tscn @@ -1,13 +1,26 @@ -[gd_scene load_steps=2 format=3 uid="uid://3lytexnfrub6"] +[gd_scene load_steps=3 format=3 uid="uid://3lytexnfrub6"] [ext_resource type="Script" uid="uid://bpmdfuqjtwf5v" path="res://gui/overlays/debug.gd" id="1_62otr"] +[ext_resource type="Script" uid="uid://byshs20og68tn" path="res://gui/components/smart_margin_container.gd" id="1_c21gy"] -[node name="Debug" type="RichTextLabel"] -visible = false +[node name="SmartMarginContainer" type="MarginContainer"] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 +theme_override_constants/margin_left = 10 +theme_override_constants/margin_top = 10 +theme_override_constants/margin_right = 10 +theme_override_constants/margin_bottom = 10 +script = ExtResource("1_c21gy") +metadata/_custom_type_script = "uid://byshs20og68tn" + +[node name="Debug" type="RichTextLabel" parent="."] +visible = false +layout_mode = 2 +mouse_filter = 2 +theme_override_colors/font_outline_color = Color(0, 0, 0, 1) +theme_override_constants/outline_size = 10 script = ExtResource("1_62otr") |