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

Border around initial rectangle after scaling #39

Closed
vkvam opened this issue Jun 3, 2018 · 2 comments
Closed

Border around initial rectangle after scaling #39

vkvam opened this issue Jun 3, 2018 · 2 comments

Comments

@vkvam
Copy link

vkvam commented Jun 3, 2018

After scaling the canvas out there is a dark blue border around the initial rectangle (same size as the canvas). It is probably intentional, but I can't seem to find a way to remove or modify it. After looking through the code for the last hour, maybe someone could point me in the right direction?

@vkvam vkvam closed this as completed Jun 3, 2018
@vkvam vkvam reopened this Jun 3, 2018
@vkvam
Copy link
Author

vkvam commented Jun 3, 2018

https://github.com/MaiDaine/litegraph.js/blob/master/src/litegraph.js has a property called render_canvas_border in LGraphCanvas, it solves the issue. At some point it will probably be merged to the main fork.

For now my solution is npm install --save git+https://github.com/MaiDaine/litegraph.js.git

@vkvam vkvam closed this as completed Jun 3, 2018
@jagenjo
Copy link
Owner

jagenjo commented Jun 4, 2018

do a pull request and I will merge it

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

No branches or pull requests

2 participants