From c96db866eaa188ea73548a58716f3c0a46bc011c Mon Sep 17 00:00:00 2001 From: dusoleil Date: Fri, 26 Aug 2022 18:16:13 -0400 Subject: tabs to spaces --- screens/Task/Body.gd | 18 +++++++++--------- screens/Task/Header.gd | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'screens/Task') diff --git a/screens/Task/Body.gd b/screens/Task/Body.gd index 05c9e9e..0831524 100644 --- a/screens/Task/Body.gd +++ b/screens/Task/Body.gd @@ -1,12 +1,12 @@ extends VBoxContainer func populate(data): - $"%Length".text = "%d min" % data.estimated_length - $"%Description".text = data.description if data.description != null else "" - var tasks = SubTask.get_by_task(data.id) - var SubTaskItem = load("res://screens/Task/SubTaskItem.tscn") - var task_list = $"%SubTaskList" - for task in tasks: - var item = SubTaskItem.instance() - item.populate(task) - task_list.add_child(item) \ No newline at end of file + $"%Length".text = "%d min" % data.estimated_length + $"%Description".text = data.description if data.description != null else "" + var tasks = SubTask.get_by_task(data.id) + var SubTaskItem = load("res://screens/Task/SubTaskItem.tscn") + var task_list = $"%SubTaskList" + for task in tasks: + var item = SubTaskItem.instance() + item.populate(task) + task_list.add_child(item) diff --git a/screens/Task/Header.gd b/screens/Task/Header.gd index 8f6c3f7..7653b6a 100644 --- a/screens/Task/Header.gd +++ b/screens/Task/Header.gd @@ -1,7 +1,7 @@ extends HBoxContainer func populate(data): - $"%Name".text = data.name + $"%Name".text = data.name func _on_Back_button_up(): - $"/root/Main".nav_back() + $"/root/Main".nav_back() -- cgit v1.2.3