freegroup/draw2d

mouse cursor position is not at true position

amiramri0200 opened this issue · 1 comments

Hello,
I have used the draw2d library in angular version 10.0.14. I used draw2d.SetFigure.extend to use SVG files and add ports to them. the output is attached. in this project, first I read an excel file and then I add cards that are in the excel file. the problem I confronted is that the mouse cursor is not exact. I mean for example when the mouse is on (x,y) = (100,100) it works as if it is on (x,y) = (80,80). How can I fix the problem?
Inkedmouse_position_porblem_LI
here is the code that I used to upload excel file
image
image

this is related to your problem #44