Skip to content

Scaling error on load with rotation #54

@bpatrik

Description

@bpatrik

In case of rotating the image, after that fitting and finally reinitalising the guillotine with the same transformation pramteres, the library zooms in.

The sollution for the problem can be to switch the rotate and the zoom order at the _init function:
if ((angle = parseInt(o.angle))) { this._rotate(angle); } if ((scale = parseFloat(o.scale))) { this._zoom(scale); }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions