From b32d06e251dd528ddde00e78792f3e0e0e0bcfb3 Mon Sep 17 00:00:00 2001 From: dusoleil Date: Sat, 27 Aug 2022 07:09:27 -0400 Subject: Fix case in file names --- screens/Task/SubTaskItem.gd | 4 ++++ screens/Task/SubTaskItem.tscn | 25 +++++++++++++++++++++++++ screens/Task/SubtaskItem.gd | 4 ---- screens/Task/SubtaskItem.tscn | 25 ------------------------- 4 files changed, 29 insertions(+), 29 deletions(-) create mode 100644 screens/Task/SubTaskItem.gd create mode 100644 screens/Task/SubTaskItem.tscn delete mode 100644 screens/Task/SubtaskItem.gd delete mode 100644 screens/Task/SubtaskItem.tscn diff --git a/screens/Task/SubTaskItem.gd b/screens/Task/SubTaskItem.gd new file mode 100644 index 0000000..afcc337 --- /dev/null +++ b/screens/Task/SubTaskItem.gd @@ -0,0 +1,4 @@ +extends MarginContainer + +func populate(data): + $"Button".text = data.name diff --git a/screens/Task/SubTaskItem.tscn b/screens/Task/SubTaskItem.tscn new file mode 100644 index 0000000..4a7cecd --- /dev/null +++ b/screens/Task/SubTaskItem.tscn @@ -0,0 +1,25 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://fonts/DroidSans.ttf" type="DynamicFontData" id=1] +[ext_resource path="res://screens/Task/SubTaskItem.gd" type="Script" id=2] + +[sub_resource type="DynamicFont" id=1] +size = 72 +font_data = ExtResource( 1 ) + +[node name="SubTaskItem" type="MarginContainer"] +margin_right = 1026.0 +margin_bottom = 110.0 +custom_constants/margin_top = 5 +custom_constants/margin_bottom = 5 +script = ExtResource( 2 ) + +[node name="Button" type="Button" parent="."] +margin_top = 5.0 +margin_right = 1026.0 +margin_bottom = 105.0 +rect_min_size = Vector2( 0, 100 ) +custom_fonts/font = SubResource( 1 ) +text = "Hip Flexor" +clip_text = true +align = 0 diff --git a/screens/Task/SubtaskItem.gd b/screens/Task/SubtaskItem.gd deleted file mode 100644 index afcc337..0000000 --- a/screens/Task/SubtaskItem.gd +++ /dev/null @@ -1,4 +0,0 @@ -extends MarginContainer - -func populate(data): - $"Button".text = data.name diff --git a/screens/Task/SubtaskItem.tscn b/screens/Task/SubtaskItem.tscn deleted file mode 100644 index 11bcd0b..0000000 --- a/screens/Task/SubtaskItem.tscn +++ /dev/null @@ -1,25 +0,0 @@ -[gd_scene load_steps=4 format=2] - -[ext_resource path="res://fonts/DroidSans.ttf" type="DynamicFontData" id=1] -[ext_resource path="res://screens/Task/SubtaskItem.gd" type="Script" id=2] - -[sub_resource type="DynamicFont" id=1] -size = 72 -font_data = ExtResource( 1 ) - -[node name="SubTaskItem" type="MarginContainer"] -margin_right = 1026.0 -margin_bottom = 110.0 -custom_constants/margin_top = 5 -custom_constants/margin_bottom = 5 -script = ExtResource( 2 ) - -[node name="Button" type="Button" parent="."] -margin_top = 5.0 -margin_right = 1026.0 -margin_bottom = 105.0 -rect_min_size = Vector2( 0, 100 ) -custom_fonts/font = SubResource( 1 ) -text = "Hip Flexor" -clip_text = true -align = 0 -- cgit v1.2.3