From 86ace1405cc3c42dce76e1fab233ca8ebe654b5a Mon Sep 17 00:00:00 2001 From: Joachim Stolberg Date: Wed, 24 Feb 2021 20:40:02 +0100 Subject: [PATCH] Sequencer: Add save button --- logic/sequencer.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/logic/sequencer.lua b/logic/sequencer.lua index 06c9e41..a4bbcc9 100644 --- a/logic/sequencer.lua +++ b/logic/sequencer.lua @@ -44,8 +44,9 @@ local function formspec(state, rules, endless) tbl[#tbl+1] = "field[6.2,"..(-0.2+idx)..";2,1;offs"..idx..";;"..(rule.offs or "").."]" end tbl[#tbl+1] = "checkbox[0,8.5;endless;Run endless;"..dump(endless).."]" - tbl[#tbl+1] = "image_button[5,8.5;1,1;".. techage.state_button(state) ..";button;]" - tbl[#tbl+1] = "button[6.2,8.5;1.5,1;help;help]" + tbl[#tbl+1] = "button[2.2,8.5;1.5,1;help;help]" + tbl[#tbl+1] = "button[4.2,8.5;1.5,1;save;Save]" + tbl[#tbl+1] = "image_button[6.2,8.5;1,1;".. techage.state_button(state) ..";button;]" return table.concat(tbl) end