[bug] fix edge not disappearing on touch devices

This commit is contained in:
Kuldeep M 2019-05-23 19:25:57 +01:00
parent bfa72ffd8a
commit e032dd416e
2 changed files with 36 additions and 1 deletions

View File

@ -557,6 +557,11 @@ var control = (function() {
func: function() { func: function() {
edge.destroy(); edge.destroy();
} }
}, {
event: "touchend",
func: function() {
edge.destroy();
}
}, { }, {
event: "keydown", event: "keydown",
func: function() { func: function() {
@ -706,6 +711,11 @@ var control = (function() {
func: function() { func: function() {
edge.destroy(); edge.destroy();
} }
}, {
event: "touchend",
func: function() {
edge.destroy();
}
}, { }, {
event: "keydown", event: "keydown",
func: function() { func: function() {
@ -889,6 +899,11 @@ var control = (function() {
func: function() { func: function() {
edge.destroy(); edge.destroy();
} }
}, {
event: "touchend",
func: function() {
edge.destroy();
}
}, { }, {
event: "keydown", event: "keydown",
func: function() { func: function() {
@ -931,6 +946,11 @@ var control = (function() {
func: function() { func: function() {
edge.destroy(); edge.destroy();
} }
}, {
event: "touchend",
func: function() {
edge.destroy();
}
}, { }, {
event: "keydown", event: "keydown",
func: function() { func: function() {
@ -1085,6 +1105,11 @@ var control = (function() {
func: function() { func: function() {
edge.destroy(); edge.destroy();
} }
}, {
event: "touchend",
func: function() {
edge.destroy();
}
}, { }, {
event: "keydown", event: "keydown",
func: function() { func: function() {
@ -1228,6 +1253,11 @@ var control = (function() {
func: function() { func: function() {
edge.destroy(); edge.destroy();
} }
}, {
event: "touchend",
func: function() {
edge.destroy();
}
}, { }, {
event: "keydown", event: "keydown",
func: function() { func: function() {
@ -1489,6 +1519,11 @@ var control = (function() {
func: function() { func: function() {
edge.destroy(); edge.destroy();
} }
}, {
event: "touchend",
func: function() {
edge.destroy();
}
}, { }, {
event: "keydown", event: "keydown",
func: function() { func: function() {

View File

@ -1,7 +1,7 @@
var version = (function() { var version = (function() {
// version is normally bumped when the state needs changing or any new functionality is added // version is normally bumped when the state needs changing or any new functionality is added
var current = "3.1.0"; var current = "3.1.1";
var compare = function(a, b) { var compare = function(a, b) {
var pa = a.split("."); var pa = a.split(".");