Be selective about "ram" keyword

master
thyttan 2022-11-09 10:20:39 +01:00 committed by GitHub
parent 05a56ec67e
commit 33a686de39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,4 @@
exports.input = function(options) {
"ram";
options = options||{};
var text = options.text;
if ("string"!=typeof text) text="";
@ -68,6 +67,7 @@ exports.input = function(options) {
var largeCharOffset = 6;
function resetChars(char, HLPrev, typePadding, heightDivisor, rowColor) {
"ram"
// Small character in list
g.setColor(rowColor);
g.setFont(SMALLFONT);
@ -80,6 +80,7 @@ exports.input = function(options) {
// mark in the list
}
function showChars(char, HL, typePadding, heightDivisor) {
"ram"
// mark in the list
g.setColor(HLCOLOR);
g.setFont(SMALLFONT);
@ -119,6 +120,7 @@ exports.input = function(options) {
resolve(text);
},
drag: function(event) {
"ram"
// ABCDEFGHIJKLMNOPQRSTUVWXYZ
// Choose character by draging along red rectangle at bottom of screen
if (event.y >= ( (R.y+R.h) - 12 )) {