From 229293517a7eb606b3befd7e91d0f6805f4e7e92 Mon Sep 17 00:00:00 2001 From: jadedctrl Date: Thu, 30 Mar 2017 22:12:33 -0500 Subject: [PATCH] Reversed the Y axis-- boards rendered upside down! :p --- render.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/render.sh b/render.sh index 6348134..d109522 100644 --- a/render.sh +++ b/render.sh @@ -11,11 +11,10 @@ file=$1 height=$(lib/json.sh -s height $file) width=$(lib/json.sh -s width $file) -heighti=0 +heighti=$height -while [ $heighti -ne $height ] +while [ $heighti -ne 0 ] do - heighti=$((heighti+1)) widthi=0 while [ $widthi -ne $width ] do @@ -56,6 +55,7 @@ do fi fi done + heighti=$((heighti-1)) printf "\033[m\n" done