diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2023-12-16 23:49:20 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2023-12-16 23:49:20 -0800 |
commit | aa4d80f157a46eccaf8d6f85033142e44e958e96 (patch) | |
tree | f11ff4efade72bf0ebcf3f2ac91832923a230a31 /reference.md | |
parent | 67e3a43b523d1398dbfc5b2f9c4ab129921ee4bb (diff) | |
parent | c29be0ffce7132d607077b3e7dda342fc3c4c461 (diff) | |
download | view.love-aa4d80f157a46eccaf8d6f85033142e44e958e96.tar.gz |
Merge lines.love
Diffstat (limited to 'reference.md')
-rw-r--r-- | reference.md | 4 |
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 ``` |