mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-05-29 01:25:10 +02:00
Also update lines on touchend
This commit is contained in:
parent
fb9e080bf6
commit
b78e1b8816
|
@ -498,6 +498,7 @@ async function init() {
|
|||
if (e.touches.length === 0) {
|
||||
|
||||
mouseup()
|
||||
setTimeout(() => updateLines(), 0)
|
||||
|
||||
} else if (e.touches.length === 1) {
|
||||
initialPinchZoom = zoom
|
||||
|
|
|
@ -835,9 +835,7 @@ function initViewGlobal() {
|
|||
//console.log("Foo!!")
|
||||
dragging = false
|
||||
fixed = false
|
||||
setTimeout(function () {
|
||||
updateHovering(e, true)
|
||||
}, 10)
|
||||
setTimeout(() => updateHovering(e, true), 0)
|
||||
})
|
||||
|
||||
if (window.location.hash) { // both "/" and just "/#" will be an empty hash string
|
||||
|
|
Loading…
Reference in a new issue