summaryrefslogtreecommitdiff
path: root/src/ui/textbox.moon
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2025-01-12 22:45:37 -0600
committerAlexander M Pickering <alex@cogarr.net>2025-01-12 22:45:37 -0600
commit90ee66a3a6aae10fd84f3f43844db55229933e37 (patch)
treef723f918871c3296636ef2538a1a29a23050e520 /src/ui/textbox.moon
parentdecb72f936060a65bff18e9cbf33642ea3a71cd0 (diff)
downloadggj25-90ee66a3a6aae10fd84f3f43844db55229933e37.tar.gz
ggj25-90ee66a3a6aae10fd84f3f43844db55229933e37.tar.bz2
ggj25-90ee66a3a6aae10fd84f3f43844db55229933e37.zip
work
Diffstat (limited to 'src/ui/textbox.moon')
-rw-r--r--src/ui/textbox.moon2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ui/textbox.moon b/src/ui/textbox.moon
index 3c6151d..c1bd521 100644
--- a/src/ui/textbox.moon
+++ b/src/ui/textbox.moon
@@ -65,7 +65,6 @@ class Textbox extends Button
update_cursor_pos: () =>
@.cursor("translate").x = @cursor_pos * 9
fire: (e) =>
- print("cursor pos is", @cursor_pos)
if e.event == "mouse_down"
@down!
if @on
@@ -74,7 +73,6 @@ class Textbox extends Button
if add_key
t = @text.text
for key in *e.data
- print("analyzing key:",key)
if key == "delete" or key == "backspace"
@cursor_pos -=1
if @cursor_pos < 0