From 64aa0fd6f505706e7011cb60efb8283cedc971b2 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 5692c852..d3dabc0c 100644 --- a/sim/state/ledmatrix.ts +++ b/sim/state/ledmatrix.ts @@ -223,7 +223,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); } }