canvas: ios: disable touch data polling unless data is used in onTouch

This commit is contained in:
jean-emmanuel 2022-10-18 09:03:17 +02:00
parent 582c29027a
commit d962c1efe0
3 changed files with 15 additions and 8 deletions

View file

@ -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')