about summary refs log tree commit diff stats
path: root/edit.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-07-12 16:26:00 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-07-12 16:26:00 -0700
commite990b1be924126080404859d41c8b0e4f638951b (patch)
tree0bb783207f3884c933918365af103ffdfdfc45ac /edit.lua
parent2307cb3ded17013fcea56ed77ca23dc1a136382d (diff)
downloadtext.love-e990b1be924126080404859d41c8b0e4f638951b.tar.gz
add state arg to Drawing.update
Diffstat (limited to 'edit.lua')
-rw-r--r--edit.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit.lua b/edit.lua
index 0e303bb..537fbf8 100644
--- a/edit.lua
+++ b/edit.lua
@@ -176,7 +176,7 @@ function edit.draw(State)
 end
 
 function edit.update(State, dt)
-  Drawing.update(dt)
+  Drawing.update(State, dt)
   if State.next_save and State.next_save < App.getTime() then
     save_to_disk(State.lines, State.filename)
     State.next_save = nil