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

Fix issue where player cannot touch below canvas to activate note #472

Merged
merged 5 commits into from
Sep 12, 2019

Conversation

dtinth
Copy link
Member

@dtinth dtinth commented Feb 13, 2018

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.

@@ -65,22 +65,21 @@ export class Context {
let onTouch = e => {
touches = [].slice.call(e.touches)
}
let view = this.view
Copy link
Member Author

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.

@dtinth dtinth changed the title 🐛 Fix issue where player cannot touch below canvas to activate note Fix issue where player cannot touch below canvas to activate note Sep 12, 2019
@codecov-io
Copy link

codecov-io commented Sep 12, 2019

Codecov Report

Merging #472 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
src/scintillator/context.js 98.33% <100%> (+0.02%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 110b875...64abc4e. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants