diff options
author | Logan Hunt <loganhunt@simponic.xyz> | 2022-12-21 13:26:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-21 13:26:48 -0700 |
commit | d445c47d39b665ba1ec70f6e3e3032b956222ec1 (patch) | |
tree | b0d6da7b27cafd44330e9ab664d51507677ff5ca | |
parent | 15459eecb2ec8ec108476478b0cdc15a6532974e (diff) | |
download | simponic.xyz-d445c47d39b665ba1ec70f6e3e3032b956222ec1.tar.gz simponic.xyz-d445c47d39b665ba1ec70f6e3e3032b956222ec1.zip |
Update script.js
-rw-r--r-- | ft-visualizer/js/script.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ft-visualizer/js/script.js b/ft-visualizer/js/script.js index 7bd4f6e..8d5af31 100644 --- a/ft-visualizer/js/script.js +++ b/ft-visualizer/js/script.js @@ -108,8 +108,8 @@ const loop = () => { y: state.topLeftGridPos.y + state.gridBoxHeight, }; } - if (Object.keys(state.diff).length) draw(state); if (state.diff.heights) drawDesmos(); + draw(state); state.diff = {}; } |