mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2024-11-22 01:07:56 +01:00
Prevent magnifying glass from appearing on iPad.
Cancel wordart on click/tap outside dialog popup.
This commit is contained in:
parent
97201587c0
commit
e8c9932014
@ -63,6 +63,8 @@
|
||||
var onTouchStart = function(e) {
|
||||
updateCursor(e);
|
||||
startDownTimer();
|
||||
$(element).trigger("onButtonClick",{x:_x,y:_y});
|
||||
e.preventDefault();
|
||||
}
|
||||
|
||||
var onTouchEnd = function(e) {
|
||||
|
@ -8,11 +8,13 @@ function initWordArt() {
|
||||
function showWordArtDialog() {
|
||||
buttonGroupAdd.hide();
|
||||
showPopup(popupWordArt);
|
||||
$("#popupMask").bind("click", onWordArtCancel);
|
||||
$("#txtWordArt").focus();
|
||||
$("#txtWordArt").val(""); //clear textbox
|
||||
}
|
||||
|
||||
function onWordArtCancel() {
|
||||
$("#popupMask").unbind("click");
|
||||
hidePopup(popupWordArt);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user