konvajs / ng2-konva

Angular & Canvas - JavaScript library for drawing complex canvas graphics using Angular.
http://rafaelescala.com/ng2-konva/
119 stars 33 forks source link

Check content of different layers #28

Open CFrk opened 4 years ago

CFrk commented 4 years ago

After moving a shape from one layer to another layer using shape.moveTo(...) (eg in the 'star' example from 'layer' to 'dragLayer'), I still see the shape in the children list of 'layer', while the children list of 'dragLayer' is empty. How can we verify the moveTo function is working correctly (and assure optimal performance)? Thanks if anyone could comment.

lavrton commented 4 years ago

Can you make a demo?

CFrk commented 4 years ago

I’m a bit late in my reply, but in the meantime I have located the problem and was able to solve it. Thank you for your follow-up.

Van: Anton Lavrenovmailto:notifications@github.com Verzonden: maandag 6 januari 2020 15:39 Aan: konvajs/ng2-konvamailto:ng2-konva@noreply.github.com CC: CFrkmailto:fcarton@hotmail.be; Authormailto:author@noreply.github.com Onderwerp: Re: [konvajs/ng2-konva] Check content of different layers (#28)

Can you make a demo?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/konvajs/ng2-konva/issues/28?email_source=notifications&email_token=AOGFQFBW4R77RZOYUDGVJP3Q4M7C7A5CNFSM4KC2W5MKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIFT2FY#issuecomment-571161879, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOGFQFFEX3D5G2OW2GTT5P3Q4M7C7ANCNFSM4KC2W5MA.