drag(dropTargets)

Hello

how come
drag({
dropTargets:shape,
dropEnd:false })
example: ZAPP: drag | ZIM JavaScript Canvas Framework
it works with a rectangle but not with shape

Greetings,

Aaron

Give the Shape a bounds either as you make new Shape(w, h) or after with setBounds(w,h). Are you getting a message in the console (F12) about bounds?

1 Like