summaryrefslogtreecommitdiff
path: root/morphic.js
diff options
context:
space:
mode:
authorGubolin <gubolin@fantasymail.de>2015-01-11 10:32:15 +0100
committerGubolin <gubolin@fantasymail.de>2015-01-11 10:32:15 +0100
commitff3abf9d87a502cdf31a5f4abcbbf1826fd64fc9 (patch)
tree43e0a2734bc16d5906decf05662d30436cb42313 /morphic.js
parent09d04ecd59279513015274a1386d345e3f8a1640 (diff)
parent3c03814833a272b305cbac5ad7f70190ec2a8926 (diff)
downloadsnap-ff3abf9d87a502cdf31a5f4abcbbf1826fd64fc9.tar.gz
snap-ff3abf9d87a502cdf31a5f4abcbbf1826fd64fc9.zip
merge mobileapp
Diffstat (limited to 'morphic.js')
-rw-r--r--morphic.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/morphic.js b/morphic.js
index 9616897..4a16597 100644
--- a/morphic.js
+++ b/morphic.js
@@ -10790,6 +10790,11 @@ WorldMorph.prototype.edit = function (aStringOrTextMorph) {
this.virtualKeyboard.style.top = this.cursor.top() + pos.y + "px";
this.virtualKeyboard.style.left = this.cursor.left() + pos.x + "px";
this.virtualKeyboard.focus();
+ if (cordova) {
+ if (cordova.plugins.SoftKeyboard) { // Android only
+ cordova.plugins.SoftKeyboard.show(); // Issue #81
+ }
+ }
}
if (MorphicPreferences.useSliderForInput) {