mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUAC-324: Do not stop propagation within Mouse objects - allow multiple touch objects to coexist.
This commit is contained in:
@@ -507,7 +507,6 @@ Guacamole.Mouse.Touchpad = function(element) {
|
||||
|
||||
element.addEventListener("touchend", function(e) {
|
||||
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
|
||||
// If we're handling a gesture AND this is the last touch
|
||||
@@ -569,7 +568,6 @@ Guacamole.Mouse.Touchpad = function(element) {
|
||||
|
||||
element.addEventListener("touchstart", function(e) {
|
||||
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
|
||||
// Track number of touches, but no more than three
|
||||
@@ -601,7 +599,6 @@ Guacamole.Mouse.Touchpad = function(element) {
|
||||
|
||||
element.addEventListener("touchmove", function(e) {
|
||||
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
|
||||
// Get change in touch location
|
||||
@@ -983,7 +980,6 @@ Guacamole.Mouse.Touchscreen = function(element) {
|
||||
if (guac_touchscreen.currentState.left) {
|
||||
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
|
||||
// Update state
|
||||
var touch = e.touches[0];
|
||||
|
Reference in New Issue
Block a user