aboutsummaryrefslogtreecommitdiff
path: root/client/menu/play.tscn
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2025-07-17 22:04:18 +0200
committertpart <tpart120@proton.me>2025-07-17 22:04:22 +0200
commit838a48f0c9c16486ceb051121fc4a6eacbac07d5 (patch)
tree46c8ecf36b30a25f39909c442bb06730d005cccb /client/menu/play.tscn
parent5139391a930eb3f1fb8e4a7101bd9a5142282550 (diff)
downloadhurrycurry-838a48f0c9c16486ceb051121fc4a6eacbac07d5.tar
hurrycurry-838a48f0c9c16486ceb051121fc4a6eacbac07d5.tar.bz2
hurrycurry-838a48f0c9c16486ceb051121fc4a6eacbac07d5.tar.zst
Add smart margin container which takes screen safe areas into acocunt (Fixes #330)
Diffstat (limited to 'client/menu/play.tscn')
-rw-r--r--client/menu/play.tscn4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/menu/play.tscn b/client/menu/play.tscn
index db3a6bad..6a7d5fdd 100644
--- a/client/menu/play.tscn
+++ b/client/menu/play.tscn
@@ -1,8 +1,9 @@
-[gd_scene load_steps=8 format=3 uid="uid://c8url5fpttbem"]
+[gd_scene load_steps=9 format=3 uid="uid://c8url5fpttbem"]
[ext_resource type="Theme" uid="uid://b0qmvo504e457" path="res://menu/theme/theme/theme.tres" id="1_cckds"]
[ext_resource type="Script" uid="uid://b126k2228nj4s" path="res://menu/play.gd" id="2_phxx0"]
[ext_resource type="Material" uid="uid://2j8a0c0a2ta5" path="res://menu/theme/materials/blur_material.tres" id="3_fsbt7"]
+[ext_resource type="Script" uid="uid://byshs20og68tn" path="res://menu/smart_margin_container.gd" id="4_gst6r"]
[ext_resource type="Script" uid="uid://bd7bylb2t2m0" path="res://menu/auto_setup/scroll_container_custom.gd" id="5_cm120"]
[ext_resource type="FontFile" uid="uid://bo4vh5xkpvrh1" path="res://menu/theme/fonts/font-sansita-swashed.woff2" id="5_ojpbf"]
@@ -38,6 +39,7 @@ theme_override_constants/margin_left = 20
theme_override_constants/margin_top = 20
theme_override_constants/margin_right = 20
theme_override_constants/margin_bottom = 20
+script = ExtResource("4_gst6r")
[node name="options" type="VBoxContainer" parent="side/margin"]
layout_mode = 2