-
Notifications
You must be signed in to change notification settings - Fork 149
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
Fix issue where player cannot touch below canvas to activate note #472
Conversation
@@ -65,22 +65,21 @@ export class Context { | |||
let onTouch = e => { | |||
touches = [].slice.call(e.touches) | |||
} | |||
let view = this.view |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To fix the test, can allow specifying an option, touchEventTarget
in Context
constructor. If not found, defaults to this.view
.
Codecov Report
@@ Coverage Diff @@
## master #472 +/- ##
==========================================
+ Coverage 80.86% 80.86% +<.01%
==========================================
Files 156 156
Lines 4760 4761 +1
Branches 184 184
==========================================
+ Hits 3849 3850 +1
Misses 862 862
Partials 49 49
Continue to review full report at Codecov.
|
Based on user testing!
Changelog
Fixed an issue where a player, when playing using a touch screen in 3D mode, cannot touch below canvas to activate the note.