From e8e4bca0343d9e7b2d631d91eb544b2f7fc34035 Mon Sep 17 00:00:00 2001 From: Rob Kelly Date: Sun, 10 Nov 2024 17:59:25 -0700 Subject: [PATCH] UI elements aren't scaled by default --- project.godot | 1 - src/player/shot_setup/shot_setup.tscn | 30 +++++++++++++-------------- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/project.godot b/project.godot index df21ffd..3482ecb 100644 --- a/project.godot +++ b/project.godot @@ -27,7 +27,6 @@ gdscript/warnings/unsafe_call_argument=2 [display] window/size/borderless=true -window/stretch/mode="canvas_items" window/stretch/aspect="ignore" [dotnet] diff --git a/src/player/shot_setup/shot_setup.tscn b/src/player/shot_setup/shot_setup.tscn index eaad09e..57d5048 100644 --- a/src/player/shot_setup/shot_setup.tscn +++ b/src/player/shot_setup/shot_setup.tscn @@ -403,6 +403,21 @@ _data = { "fill": SubResource("Animation_uo6s7") } +[sub_resource type="Animation" id="Animation_3cn2c"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("%ClubSelector:rotation") +tracks/0/interp = 4 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [0.0] +} + [sub_resource type="Animation" id="Animation_dt1yq"] resource_name = "hide" length = 0.4 @@ -420,21 +435,6 @@ tracks/0/keys = { "values": [0.0, 0.0872665, -1.5708] } -[sub_resource type="Animation" id="Animation_3cn2c"] -length = 0.001 -tracks/0/type = "value" -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/path = NodePath("%ClubSelector:rotation") -tracks/0/interp = 4 -tracks/0/loop_wrap = true -tracks/0/keys = { -"times": PackedFloat32Array(0), -"transitions": PackedFloat32Array(1), -"update": 0, -"values": [0.0] -} - [sub_resource type="Animation" id="Animation_0maif"] resource_name = "show" length = 0.4