about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-08-23 09:44:16 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-08-23 09:44:16 -0700
commitce79623231a71d23b32d0c4bbaef0adba673e9fc (patch)
tree325580eb24b4918d37f7e9c33d51b0e2af6fadf9
parentaadc50f3b6d953ce0eaff75dec029aaf3a93324a (diff)
downloadview.love-ce79623231a71d23b32d0c4bbaef0adba673e9fc.tar.gz
improve explanation for buttons
-rw-r--r--button.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/button.lua b/button.lua
index 66a2c00..4cafc86 100644
--- a/button.lua
+++ b/button.lua
@@ -1,4 +1,7 @@
--- simple immediate-mode buttons
+-- Simple immediate-mode buttons with (currently) just an onpress1 handler for
+-- the left button.
+-- If the handler returns true, it'll prevent any further processing of the
+-- event.
 
 Button_handlers = {}