Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Remove filter #36

Closed
qfox opened this Issue · 1 comment

2 participants

@qfox

Or I'm just blind. How do you remove a filter once you set it through .attr({filters: new filter.DropShadow(1, 1, 2, 0x000000FF)})?

Tried null,"none",[]. None worked. Strings throw errors.

-- edit: tobi said there's a bug so I'm keeping this ticket

@basecode basecode closed this issue from a commit
@basecode basecode Fix #36
A bug in svg-renderer where filters couldn't be removed.
c1c3e23
@basecode basecode closed this in c1c3e23
@basecode basecode reopened this
@basecode
Owner

A filter can be removed with the following signatures

  • .attr('filters', [])
  • .attr('filters', undefined)
  • .attr('filters', null)
@qfox qfox closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.