One letter showString shouldn't disappear (#338)
* Fix for "One letter showString shouldn't disappear", fixes #798 * miss semicolon
This commit is contained in:
parent
5be188d6e7
commit
64aa0fd6f5
@ -223,7 +223,7 @@ namespace pxsim.basic {
|
|||||||
clearScreen();
|
clearScreen();
|
||||||
pause(interval * 5);
|
pause(interval * 5);
|
||||||
} else {
|
} else {
|
||||||
if (s.length == 1) showLeds(createImageFromString(s + " "), interval * 5)
|
if (s.length == 1) showLeds(createImageFromString(s), 0);
|
||||||
else ImageMethods.scrollImage(createImageFromString(s + " "), 1, interval);
|
else ImageMethods.scrollImage(createImageFromString(s + " "), 1, interval);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user