Add a script for a track

This commit is contained in:
2025-02-16 18:41:12 +01:00
parent 49dff3c8f1
commit 10feabb9bf
5 changed files with 21 additions and 9 deletions

View File

@@ -25,9 +25,10 @@ script = ExtResource("1_iy5jd")
[node name="Panel" type="Panel" parent="."]
custom_minimum_size = Vector2(0, 20)
layout_mode = 1
anchors_preset = 10
anchors_preset = -1
anchor_right = 1.0
offset_bottom = 20.0
anchor_bottom = 0.312
offset_bottom = 0.0319996
grow_horizontal = 2
[node name="Label" type="Label" parent="Panel"]

View File

@@ -1,7 +1,8 @@
[gd_scene load_steps=5 format=3 uid="uid://c3kajrpp2ux7"]
[gd_scene load_steps=6 format=3 uid="uid://c3kajrpp2ux7"]
[ext_resource type="Theme" uid="uid://b8rk41gjual2b" path="res://Assets/DefaultTheme.tres" id="1_tbi88"]
[ext_resource type="Texture2D" uid="uid://bwfbs4jxbia3o" path="res://Assets/Icons/microphone_track.svg" id="2_r2pin"]
[ext_resource type="Script" path="res://Scripts/Track.gd" id="2_rsf0h"]
[ext_resource type="FontFile" uid="uid://ctw3g5gundhpj" path="res://Assets/Fonts/InterVariable.ttf" id="3_12y3l"]
[sub_resource type="FontVariation" id="FontVariation_lbdn3"]
@@ -19,6 +20,7 @@ anchors_preset = 0
offset_right = 382.0
offset_bottom = 64.0
theme = ExtResource("1_tbi88")
script = ExtResource("2_rsf0h")
[node name="PanelContainer" type="PanelContainer" parent="."]
layout_mode = 1