M
M
Millerish2017-01-26 15:08:59
JavaScript
Millerish, 2017-01-26 15:08:59

Canvas fabric.js: why is the wrong value set?

I set the value, but after checking, something increments/decreases the value by 3 or some cosmic number.

var h = parseInt(heightElInput.value);
position.cursorOnElElemetObj.set({
      height: h,
      cacheHeight: h
});

jsfiddle
Video of the bug
I really need help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dark Hole, 2017-01-26
@abyrkov

On line 45 instead of
Do
n't ask me why, I don't know myself. I just found an error and that's it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question