mirror of
https://github.com/rastapasta/mapscii.git
synced 2024-11-21 15:43:08 +01:00
Merge pull request #61 from rastapasta/draw-is-never-null
Fix issue where every button press causes a rerender
This commit is contained in:
commit
22532ba03b
@ -226,7 +226,7 @@ class Mapscii {
|
||||
draw = false;
|
||||
}
|
||||
|
||||
if (draw !== null) {
|
||||
if (draw) {
|
||||
this._draw();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user