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:
parent
f5bf2d84ef
commit
de315d6216
|
@ -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();
|
||||
},
|
||||
|
||||
/* ------^-------
|
||||
|
|
Loading…
Reference in New Issue