Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canvas updates itself only on mouseup #173

Open
kpudlik opened this issue Sep 4, 2017 · 0 comments
Open

Canvas updates itself only on mouseup #173

kpudlik opened this issue Sep 4, 2017 · 0 comments

Comments

@kpudlik
Copy link

kpudlik commented Sep 4, 2017

http://jsfiddle.net/5KKQ2/2464/

I want black rectangle to fill the gap between red rectangle and top canvas border. It works when I move red rect:

moving

But when I try to achieve the same behaviour for resizing then it looks messy. Or to be more specific the correct result is showed only after mouseup. During mousedown/mousemove calculations are broken.

resizing

Isn't it some kind of internal bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant