craftyjs/Crafty

[Electron] Violations of non-passive listener

0xf0xx0 opened this issue · 1 comments

crafty-SNAPSHOT.js:3074 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
addEvent @ crafty-SNAPSHOT.js:3074
(anonymous) @ crafty-SNAPSHOT.js:4094
trigger @ crafty-SNAPSHOT.js:830
init @ crafty-SNAPSHOT.js:632
window.onload @ /Users/gingkathfox/Desktop/Bugwars/Code/Scenes/Level1.js:6
crafty-SNAPSHOT.js:3074 [Violation] Added non-passive event listener to a scroll-blocking 'touchmove' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
addEvent @ crafty-SNAPSHOT.js:3074
(anonymous) @ crafty-SNAPSHOT.js:4095
trigger @ crafty-SNAPSHOT.js:830
init @ crafty-SNAPSHOT.js:632
window.onload @ /Users/gingkathfox/Desktop/Bugwars/Code/Scenes/Level1.js:6

I don;t understand. it seems like Electron is blocking mouse input to my game.

closing cause its a problem with Chrome.