Skip to content

Clipper-classic ignore ration on init #71

Closed
@mrquokka

Description

@mrquokka

Describe the bug
If i set ratio to "1" and open image like 400x700, ratio of selected ignored(it will be 4:7)

To Reproduce
<clipper slot="content" :src="loaded_image" ref="clipper" :ratio="1" />

Expected behavior
init_size need to 50px x 50px*ratio or somethink another

Screenshots
https://ibb.co/XSpW9RS

Desktop (please complete the following information):
Ubuntu 20.04, Chrome 85

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions