Skip to content

Commit

Permalink
Fix undefined point error
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeheonshim committed Oct 20, 2022
1 parent 91bf8ef commit bc925e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drawing/Canvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default function Canvas(props) {
}
}

if(!drawJson.points[props.frame]) {
if(drawJson.points[props.frame]) {
context.strokeStyle = drawJson.points[props.frame].color;
context.stroke();
}
Expand Down

0 comments on commit bc925e4

Please sign in to comment.