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

Demo for Angular Konva not working as intended #24

Open
raparri01 opened this issue Dec 5, 2018 · 0 comments
Open

Demo for Angular Konva not working as intended #24

raparri01 opened this issue Dec 5, 2018 · 0 comments

Comments

@raparri01
Copy link

On the page for the ng2-konva library, the "Draggable Star" demo is not reflecting the item config changes within the handleDragStart and handleDragEnd functions. It appears that
ngComponent.config.next({ shadowOffsetX: 15, shadowOffsetY: 15, scaleX: ngComponent.getConfig().startScale * 1.2, scaleY: ngComponent.getConfig().startScale * 1.2, });

and

shape.to({ duration: 0.5, easing: Konva.Easings.ElasticEaseOut, scaleX: ngComponent.getConfig().startScale, scaleY: ngComponent.getConfig().startScale, shadowOffsetX: 5, shadowOffsetY: 5 });

are not being applied on drag and drop.

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