diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-06-02 16:44:18 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-06-02 16:44:18 -0700 |
commit | 22817492a3c5dd33c7d34c0c505b2bac2661d0ac (patch) | |
tree | 42750e2703719181875f741629160524540c3702 /main.lua | |
parent | 477216a0517671f4a5e34f4e66061898f22665c3 (diff) | |
download | lines.love-22817492a3c5dd33c7d34c0c505b2bac2661d0ac.tar.gz |
rename
Diffstat (limited to 'main.lua')
-rw-r--r-- | main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main.lua b/main.lua index 38fafa2..b8f2ee7 100644 --- a/main.lua +++ b/main.lua @@ -142,7 +142,7 @@ function App.draw() button('draw', {x=4,y=y+4, w=12,h=12, color={1,1,0}, icon = icon.insert_drawing, onpress1 = function() - Drawing.before = snapshot_everything() + Drawing.before = snapshot() table.insert(Lines, line_index, {mode='drawing', y=y, h=256/2, points={}, shapes={}, pending={}}) if Cursor1.line >= line_index then Cursor1.line = Cursor1.line+1 |