thumbmunkeys
thumbmunkeys

Reputation: 20764

Move Shape with KineticJS

Here is a jsfiddle, with a shape that should be moved on mouse drag events. I can see in the javascript console that shape.move() is called with proper values, the shape wouldn't move though.

Why doesn't the shape move?

Upvotes: 4

Views: 2493

Answers (1)

thumbmunkeys
thumbmunkeys

Reputation: 20764

After stage.draw() is called, the shape moves.

Upvotes: 4

Related Questions