Skip to content

Commit

Permalink
Merge branch 'fix/fluid.waveform-init-errors' into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
James Bradbury committed Nov 4, 2021
2 parents 4df3d00 + 5b3227a commit 9070d16
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions jsui/fluid.waveform~.js
Original file line number Diff line number Diff line change
Expand Up @@ -616,9 +616,12 @@ function ondrag (x, y, button, mod1, shift, caps, opt, mod2) {
function onresize (x, y, button, mod1, shift, caps, opt, mod2) {
width = box.rect[2] - box.rect[0];
height = box.rect[3] - box.rect[1];
disp.canvas.width = width;
disp.canvas.height = height;
redrawNeeded = true;

if (disp) {
disp.canvas.width = width;
disp.canvas.height = height;
redrawNeeded = true;
}
}

function onidle (x, y, button, mod1, shift, caps, opt, mod2) {
Expand Down

0 comments on commit 9070d16

Please sign in to comment.