about summary refs log tree commit diff stats
path: root/reference.md
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-12-16 23:49:20 -0800
committerKartik K. Agaram <vc@akkartik.com>2023-12-16 23:49:20 -0800
commitaa4d80f157a46eccaf8d6f85033142e44e958e96 (patch)
treef11ff4efade72bf0ebcf3f2ac91832923a230a31 /reference.md
parent67e3a43b523d1398dbfc5b2f9c4ab129921ee4bb (diff)
parentc29be0ffce7132d607077b3e7dda342fc3c4c461 (diff)
downloadview.love-aa4d80f157a46eccaf8d6f85033142e44e958e96.tar.gz
Merge lines.love
Diffstat (limited to 'reference.md')
-rw-r--r--reference.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/reference.md b/reference.md
index 1f1f724..7758cf1 100644
--- a/reference.md
+++ b/reference.md
@@ -283,7 +283,7 @@ The following facilities help set these things up:
   everything about a button in one place. Create as many buttons as you like
   within a single shared `state`.
 
-* `mouse_press_consumed_by_any_button_handler(state, x,y, mouse_button)`
+* `mouse_press_consumed_by_any_button(state, x,y, mouse_button)`
 
   Call this either directly or indirectly from `App.mousepressed`. It will
   pass on a click to any button registered in `state`. It's also helpful to
@@ -291,7 +291,7 @@ The following facilities help set these things up:
   following boilerplate early in `mousepressed`:
 
     ```
-    if mouse_press_consumed_by_any_button_handler(state, x,y, mouse_button) then
+    if mouse_press_consumed_by_any_button(state, x,y, mouse_button) then
       return
     end
     ```