traversing: store samewidget switch in utils
This commit is contained in:
parent
08904a3d52
commit
6e9c0ea8cc
2 changed files with 4 additions and 3 deletions
|
|
@ -1,6 +1,5 @@
|
|||
const {normalizeDragEvent, resetEventOffset} = require('./utils')
|
||||
const {normalizeDragEvent, resetEventOffset, TRAVERSING_SAMEWIDGET} = require('./utils')
|
||||
const iOS = require('../ui/ios')
|
||||
const TRAVERSING_SAMEWIDGET = 1
|
||||
|
||||
var targets = {},
|
||||
previousPointers = {}
|
||||
|
|
|
|||
|
|
@ -85,6 +85,8 @@ module.exports = {
|
|||
event.offsetX = event.pageX - off.left
|
||||
event.offsetY = event.pageY - off.top
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
TRAVERSING_SAMEWIDGET: 1
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue