Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The console reported an error setConfig #680

Open
So-For opened this issue Dec 13, 2021 · 1 comment
Open

The console reported an error setConfig #680

So-For opened this issue Dec 13, 2021 · 1 comment

Comments

@So-For
Copy link

So-For commented Dec 13, 2021

When I set setConfig,there has an error

I was set dimensions as Array , but select.js got an Object.
image

svgEditor.setConfig({
    dimensions: [ 640, 480 ],
  });
@jfhenon
Copy link
Collaborator

jfhenon commented Jan 4, 2022

two questions:

  1. { 0: 640, 1:480 } should be equivalent to [640, 480] no?
  2. could you make a step by step guide to reproduce the issue?

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

No branches or pull requests

2 participants