mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2024-11-22 09:17: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) {
|
var onTouchStart = function(e) {
|
||||||
updateCursor(e);
|
updateCursor(e);
|
||||||
startDownTimer();
|
startDownTimer();
|
||||||
|
$(element).trigger("onButtonClick",{x:_x,y:_y});
|
||||||
|
e.preventDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
var onTouchEnd = function(e) {
|
var onTouchEnd = function(e) {
|
||||||
|
@ -8,11 +8,13 @@ function initWordArt() {
|
|||||||
function showWordArtDialog() {
|
function showWordArtDialog() {
|
||||||
buttonGroupAdd.hide();
|
buttonGroupAdd.hide();
|
||||||
showPopup(popupWordArt);
|
showPopup(popupWordArt);
|
||||||
|
$("#popupMask").bind("click", onWordArtCancel);
|
||||||
$("#txtWordArt").focus();
|
$("#txtWordArt").focus();
|
||||||
$("#txtWordArt").val(""); //clear textbox
|
$("#txtWordArt").val(""); //clear textbox
|
||||||
}
|
}
|
||||||
|
|
||||||
function onWordArtCancel() {
|
function onWordArtCancel() {
|
||||||
|
$("#popupMask").unbind("click");
|
||||||
hidePopup(popupWordArt);
|
hidePopup(popupWordArt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user