theozaurus / drawing-fabric.js

An expandable drawing editor based on fabric.js
MIT License
18 stars 2 forks source link

fabric.js 1.4.10 incorrect mouse #2

Open SergeyDubovitsky opened 10 years ago

SergeyDubovitsky commented 10 years ago

Wonderful editor - best on github), but with new fabric.js 1.4.10 has an incorrect mouse movements.

The plans include further development?

kangax commented 10 years ago

Can you please be more specific? I can't see any incorrect movements.

SergeyDubovitsky commented 10 years ago

Try to draw half circle

kangax commented 10 years ago

Works for me on Chrome 38

theozaurus commented 10 years ago

Hi @SergeyDubovitsky, I've seen a problem on drawing-fabric.js where the mouse position is always off by the same amount. From memory this happened when elements where positioned differently in CSS (say absolute). Can you provide an example of the code you are experiencing this problem on?

SergeyDubovitsky commented 10 years ago

http://dss181.esy.es/demo/index-old.html - with old fabric.js - correct http://dss181.esy.es/demo/index.html - new fabric.js - incorrect mouse

for example try to draw half circle