aboutsummaryrefslogtreecommitdiff
path: root/client/menu/ingame.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/ingame.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/ingame.tscn')
-rw-r--r--client/menu/ingame.tscn4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/menu/ingame.tscn b/client/menu/ingame.tscn
index ca8f67c8..099c535a 100644
--- a/client/menu/ingame.tscn
+++ b/client/menu/ingame.tscn
@@ -1,4 +1,4 @@
-[gd_scene load_steps=11 format=3 uid="uid://lxlgtjm8hw7v"]
+[gd_scene load_steps=12 format=3 uid="uid://lxlgtjm8hw7v"]
[ext_resource type="Theme" uid="uid://b0qmvo504e457" path="res://menu/theme/theme/theme.tres" id="1_2vmyh"]
[ext_resource type="Script" uid="uid://dyi2xohgxeybb" path="res://menu/ingame.gd" id="2_0h3no"]
@@ -6,6 +6,7 @@
[ext_resource type="Script" uid="uid://cmncjc06kadpe" path="res://menu/auto_setup/blur_setup.gd" id="4_b6bm7"]
[ext_resource type="FontFile" uid="uid://bo4vh5xkpvrh1" path="res://menu/theme/fonts/font-sansita-swashed.woff2" id="4_scupw"]
[ext_resource type="StyleBox" uid="uid://bw4jamyna1top" path="res://menu/theme/style/panel_style_sidebar.tres" id="4_vr8y1"]
+[ext_resource type="Script" uid="uid://byshs20og68tn" path="res://menu/smart_margin_container.gd" id="6_poj4k"]
[sub_resource type="Animation" id="Animation_8sedy"]
length = 0.001
@@ -77,6 +78,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("6_poj4k")
[node name="Options" type="VBoxContainer" parent="Side/Margin"]
layout_mode = 2