Sequencer: Add save button

This commit is contained in:
Joachim Stolberg 2021-02-24 20:40:02 +01:00
parent 084d1e63b6
commit 86ace1405c

View File

@ -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