catc/displace

Relative to canvas

Closed this issue · 2 comments

Hello,

I have a problem to set displace to canvas. It returns me this error. Is it possible to set relativeTo to canvas element?

ERROR TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'. at isRelative (displace.js:232)

Thanks

catc commented

Can you reproduce the issue in a jsfiddle/jsbin so I can try debugging it?

catc commented

Closing due to inactivity.