mirror of
https://github.com/novnc/noVNC.git
synced 2026-05-29 16:39:40 +00:00
Touching the handle should keep the control bar visible
Calling stopPropagation() was causing the normal event listeners to never get the proper events.
This commit is contained in:
@@ -598,6 +598,8 @@ var UI;
|
||||
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
UI.keepControlbar();
|
||||
UI.activateControlbar();
|
||||
},
|
||||
|
||||
// Move the handle but don't allow any position outside the bounds
|
||||
@@ -654,6 +656,8 @@ var UI;
|
||||
UI.toggleControlbar();
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
UI.keepControlbar();
|
||||
UI.activateControlbar();
|
||||
}
|
||||
UI.controlbarGrabbed = false;
|
||||
},
|
||||
@@ -674,6 +678,8 @@ var UI;
|
||||
UI.controlbarMouseDownOffsetY = ptr.clientY - bounds.top;
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
UI.keepControlbar();
|
||||
UI.activateControlbar();
|
||||
},
|
||||
|
||||
/* ------^-------
|
||||
|
||||
Reference in New Issue
Block a user