Closed SynbioLucas closed 9 years ago
More details about this strange bug:
When the page is loaded, the canvas offsetWidth and offsetHeight parameters seem to be correct (for me, they're 1429 x 715). But when any device is selected or well view / plate view toggled, only the offsetHeight changes to something way too small (me: 1429 x 150).
As far as I can tell, the canvas isn't really manipulated much in the javascript; nothing that should cause this. No idea what's going on.
More evidence that the canvas CSS / position is messed up...
Plate and well view both work now and the problem is still present
Problem is with canvas, as far as I can tell.
When canvas.height is fixed (and not set by canvas.offsetHeight), things seem to look good, except the plate doesn't resize.
Could possibly be a problem with the CSS (@felixekn) , though canvas isn't specifically mentioned there.