Skip to content
This repository was archived by the owner on Feb 19, 2021. It is now read-only.
This repository was archived by the owner on Feb 19, 2021. It is now read-only.

Lines are not the same as in AnimateCC, missing linecap and linejoin [fix] #119

@herrKlein

Description

@herrKlein

When exporting line icons, the cap and the join are in the export from AnimateCC, but are not processed in the SnapSVGAnimator.

shape.attr({
  stroke: colStr,
  strokeWidth: resourcePath.strokeWidth,
  strokeLinejoin: resourcePath.strokeLinejoin,
  strokeLinecap: resourcePath.strokeLinecap
});

Adding these last 2 lines in the SnapSVGAnimator.js file on method this.addStroke = function (shape, resourcePath) { seem to fix that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions