Skip to content

Unnecessary translate in zoom and pan example #28

@williamh890

Description

@williamh890

I don't think this translate is needed on the zoom and pan example since the SVG element is already translated and the pointer event rect is relative to that.

.attr('transform', 'translate(' + margin.left + ',' + margin.top + ')')

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions