diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2023-12-16 23:52:14 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2023-12-16 23:52:14 -0800 |
commit | d6b2b520069d294972800357eb5b6615680a94e8 (patch) | |
tree | c5cbdd8ab335a9fffc833837295e65a1ae4e04e3 /reference.md | |
parent | 3752993b3480f720eed162a4bf188e64e5a8b6c1 (diff) | |
parent | aa4d80f157a46eccaf8d6f85033142e44e958e96 (diff) | |
download | view.love-d6b2b520069d294972800357eb5b6615680a94e8.tar.gz |
Merge text.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 ``` |