Fixed left flow guis

This commit is contained in:
Cooldude2606
2021-05-06 00:56:50 +01:00
parent 0c0dba384b
commit 6e00b2cd40
4 changed files with 8 additions and 8 deletions

View File

@@ -219,7 +219,7 @@ local task_list =
}
scroll_pane.style.horizontally_stretchable = true
scroll_pane.style.padding = 0
scroll_pane.style.maximal_height = 280
scroll_pane.style.maximal_height = 224
local flow =
scroll_pane.add {
@@ -572,12 +572,6 @@ local update_task = function(player, task_list_element, task_id)
element[task_list_item.name].tooltip = {"task-list.last-edit", last_edit_name, format_time(last_edit_time)}
end
--- Button on the top flow used to toggle the task list container
-- @element toggle_task_list
Gui.left_toolbar_button('utility/not_enough_repair_packs_icon', {'task-list.main-tooltip'}, task_list_container, function(player)
return Roles.player_allowed(player, 'gui/task-list')
end)
-- Update the footer task edit view
local update_task_edit_footer = function(player, task_id)
local task = Tasks.get_task(task_id)