From 04dab7df2c78034d65bf7dd5d704484757d79496 Mon Sep 17 00:00:00 2001 From: chmora Date: Tue, 10 Jan 2017 16:25:40 -0800 Subject: [PATCH] One letter showString shouldn't disappear (#338) * Fix for "One letter showString shouldn't disappear", fixes #798 * miss semicolon --- sim/state/ledmatrix.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim/state/ledmatrix.ts b/sim/state/ledmatrix.ts index a62f2df2..c2e628f9 100644 --- a/sim/state/ledmatrix.ts +++ b/sim/state/ledmatrix.ts @@ -228,7 +228,7 @@ namespace pxsim.basic { clearScreen(); pause(interval * 5); } 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); } }