∅:∅[
4.194] → [
9.18934:19646]
∅:∅[
10.240] → [
9.18934:19646]
∅:∅[
11.394] → [
9.18934:19646]
∅:∅[
12.963] → [
9.18934:19646]
B:B[
10.240] → [
9.18934:19646]
B:B[
11.394] → [
9.18934:19646]
B:B[
9.18934] → [
9.18934:19646]
BD:B[
12.963] → [
9.18934:19646]
icon = icon.insert_drawing,
onpress1 = function()
Drawing.before = snapshot(State, line_index-1, line_index)
table.insert(State.lines, line_index, {mode='drawing', y=y, h=256/2, points={}, shapes={}, pending={}})
table.insert(State.line_cache, line_index, {})
if State.cursor1.line >= line_index then
State.cursor1.line = State.cursor1.line+1
end
schedule_save(State)
record_undo_event(State, {before=Drawing.before, after=snapshot(State, line_index-1, line_index+1)})
end,
})