canvas: ios: disable touch data polling unless data is used in onTouch
This commit is contained in:
parent
582c29027a
commit
d962c1efe0
3 changed files with 15 additions and 8 deletions
|
|
@ -30,6 +30,8 @@ window.DOUBLE_TAP_TIME = ENV.doubletap ? parseInt(ENV.doubletap) : 375
|
|||
|
||||
window.CLIENT_SYNC = parseInt(ENV.clientSync) === 0 ? 0 : 1
|
||||
|
||||
window.IOS_TOUCH_POLLING = false
|
||||
|
||||
window.JSON.parseFlex = require('json5').parse
|
||||
|
||||
window.DOM = require('./dom')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue