Canvas fabriс.js: how to set the height?

I use factories fabriс.js to work with canvas objects. By changing the height of the mouse separately or detached field - works. If you change first the mouse, then the field - begin to work with false values.

Line 83, 84. Setting values:

canvas.getActiveObject().setHeight(parseInt(heightElInput.value));
canvas.getActiveObject().height = parseInt(heightElInput.value);


code
Video bug

Help to fix it.
August 19th 19 at 23:29
0 answer

Find more questions by tags CanvasHTMLJavaScriptWeb Development