Skip to content

Commit

Permalink
Maybe a fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lubin Pappalardo committed Oct 3, 2023
1 parent 345a126 commit 619b865
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/scripts/wires.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ function GetPinCoord(pin) {


function draw () {
paper.width = paper.clientWidth;
paper.height = paper.clientHeight;
paper.width = $('#wires').outerWidth();
paper.height = $('#wires').outerHeight();
pen.lineWidth = 4;
pen.clearRect(0, 0, paper.width, paper.height);

Expand Down

0 comments on commit 619b865

Please sign in to comment.