Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-9354] Fixed bug with events firing twice. Also fixed a bug with Ti.UI.Slider #2337

Merged
merged 2 commits into from Jun 6, 2012
Merged

Conversation

cb1kenobi
Copy link
Contributor

No description provided.

element._handleTouchEvent(this.name, {
x: changed[i].clientX,
y: changed[i].clientY,
source: this.getSourceNode(e, element)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should cache the source node so that it isn't recalculated each iteration

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Fixed!

@nebrius
Copy link
Contributor

nebrius commented Jun 6, 2012

Code reviewed and tested. Request accepted.

nebrius added a commit that referenced this pull request Jun 6, 2012
[TIMOB-9354] Fixed bug with events firing twice. Also fixed a bug with Ti.UI.Slider
@nebrius nebrius merged commit 4456a75 into tidev:master Jun 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants