electron-virtual-keyboard
Advanced tools
Comparing version 1.0.6 to 1.0.7
{ | ||
"name": "electron-virtual-keyboard", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "An electron based virtual keyboard. Uses electron's sendInputEvent api to implement a simple customizable soft keyboard.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -170,3 +170,3 @@ (function (factory) { | ||
var text = key.length > 1?key.replace(/[\{\}]/gm, ''):key; | ||
var parts = text.split(':'); | ||
var parts = (text==":")?[":"]:text.split(':'); | ||
var modifier = { mod: null, applied: [] }; | ||
@@ -400,2 +400,9 @@ if ( parts.length > 1 ) { | ||
}); | ||
} else if (typeof this.config.autoPosition == 'function') { | ||
var position = this.config.autoPosition(el, this.$container); | ||
this.$container.css({ | ||
position: 'absolute', | ||
top: position.top, | ||
left: position.left | ||
}); | ||
} | ||
@@ -745,2 +752,2 @@ } | ||
})); | ||
})); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
518464
910