mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17: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) {
|
element.addEventListener("touchend", function(e) {
|
||||||
|
|
||||||
e.stopPropagation();
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
// If we're handling a gesture AND this is the last touch
|
// 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) {
|
element.addEventListener("touchstart", function(e) {
|
||||||
|
|
||||||
e.stopPropagation();
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
// Track number of touches, but no more than three
|
// Track number of touches, but no more than three
|
||||||
@@ -601,7 +599,6 @@ Guacamole.Mouse.Touchpad = function(element) {
|
|||||||
|
|
||||||
element.addEventListener("touchmove", function(e) {
|
element.addEventListener("touchmove", function(e) {
|
||||||
|
|
||||||
e.stopPropagation();
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
// Get change in touch location
|
// Get change in touch location
|
||||||
@@ -983,7 +980,6 @@ Guacamole.Mouse.Touchscreen = function(element) {
|
|||||||
if (guac_touchscreen.currentState.left) {
|
if (guac_touchscreen.currentState.left) {
|
||||||
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
|
||||||
|
|
||||||
// Update state
|
// Update state
|
||||||
var touch = e.touches[0];
|
var touch = e.touches[0];
|
||||||
|
Reference in New Issue
Block a user