Merge pull request #61 from rastapasta/draw-is-never-null

Fix issue where every button press causes a rerender
This commit is contained in:
Christian Paul 2019-04-12 20:49:00 -07:00 committed by GitHub
commit 22532ba03b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,7 +226,7 @@ class Mapscii {
draw = false;
}
if (draw !== null) {
if (draw) {
this._draw();
}
}