Skip to content Skip to sidebar Skip to footer

I Am Able To Draw The Box But I Am Not Able To Remove It! (canvas)

I have asked this question before and it seemed that the code I was using was pretty confusing. So this is a virtually dumed down version of the same code. I draw a square on the

Solution 1:

Looking at the docs of the remove function it seems that you should be passing the itemId not the the actual item object when calling it.

Solution 2:

the error in the library was in the remove function. I have the following script which removes the bug. Hope it helps people. :)

http://gist.github.com/589185

Post a Comment for "I Am Able To Draw The Box But I Am Not Able To Remove It! (canvas)"