summaryrefslogtreecommitdiff
path: root/morphic.js
diff options
context:
space:
mode:
authorGubolin <gubolin@fantasymail.de>2015-01-11 10:32:59 +0100
committerGubolin <gubolin@fantasymail.de>2015-01-11 10:32:59 +0100
commita94bd16d95f00fe3f8f27b425be3c7fc8cd3cd76 (patch)
treebde44a9ec9442947c9b46cb6c0f4377eaadcb44e /morphic.js
parent8b7b751c04a0f41129a2d39de93c171e8e516c42 (diff)
parentff3abf9d87a502cdf31a5f4abcbbf1826fd64fc9 (diff)
downloadsnap-a94bd16d95f00fe3f8f27b425be3c7fc8cd3cd76.tar.gz
snap-a94bd16d95f00fe3f8f27b425be3c7fc8cd3cd76.zip
Merge branch 'development' into gh-pages
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) {