Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Sketch.takeSnapshotAsync() ignores all options param. #115

Open
jsb188 opened this issue Jan 23, 2020 · 1 comment
Open

Sketch.takeSnapshotAsync() ignores all options param. #115

jsb188 opened this issue Jan 23, 2020 · 1 comment

Comments

@jsb188
Copy link

jsb188 commented Jan 23, 2020

It seems any options passed to takeSnapshotAsync() is completely ignored. (from Sketch component ref).

Is this a bug?

@ymp5078
Copy link

ymp5078 commented Aug 21, 2020

did you pass them as a object?
For example: ref.takeSnapshotAsync({ format: "png", conpress: 0.5 })

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants