turf/space
icon='icon.dmi'
icon_state="space"
Click()
spaceClick++
world << spaceClick
..()
Example:
http://files.byondhome.com/PopLava/ClickSpeedTest_src.zip
Problem description:
I'm noticing that mouse click events aren't being picked up all the time. If you click in the same place 10 times in a row, all 10 are registered. If you move the mouse back and forth clicking once on the left side of the map and once on the right of the map (about two clicks a second), suddenly click events don't get picked up. Wondering if maybe some sort of mousedrag event is eating the click event and not bubbling it up or something. Any ideas?
[edit]
Yeah, when I use mouseup, it works perfectly and captures all clicks. Going to try and add a mousedrag event and see if my back and forth test is triggering mousedrags events.
[edit]
Yup.
1
2
drag
3
drag
drag
drag
4
5
6
Likely to be by design I guess. I feel like it's overzealous in detecting drags though. When I click around my map, I feel like they are clicks but they are being registered as drags. Anyway to turn off drag detection so I can continue using Click without needing to use MouseUp or MouseDown?