Update script.js
This commit is contained in:
parent
15459eecb2
commit
d445c47d39
@ -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 = {};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user