mouseUp vs mouseDown
Posted: Tue Jun 26, 2012 10:34 pm
I made an interesting discovery today.
I've got a lot buttons that perform operations on various Scrolling Fields.
Some buttons perform multiple operations on two or more fields.
I've noticed for a while now, LiveCode seem to be very slow in these operations.
Now I understand why. The lag was the amount of time I was holding down clicks.
It's just a split second really, but it's very visible as these events happen on the screen.
So now I've changed all my Buttons to mouseDown handlers instead of mouseUp.
And wow-- visually there is a big difference. Just thought I'd pass that along.
I've got a lot buttons that perform operations on various Scrolling Fields.
Some buttons perform multiple operations on two or more fields.
I've noticed for a while now, LiveCode seem to be very slow in these operations.
Now I understand why. The lag was the amount of time I was holding down clicks.
It's just a split second really, but it's very visible as these events happen on the screen.
So now I've changed all my Buttons to mouseDown handlers instead of mouseUp.
And wow-- visually there is a big difference. Just thought I'd pass that along.