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

Some global offset system to support negative coords and other gimmicks #70

Open
LittleEndu opened this issue Oct 23, 2023 · 0 comments

Comments

@LittleEndu
Copy link
Contributor

LittleEndu commented Oct 23, 2023

  • keep track of what was canvas' top-leftmost pixel coord when the template was uploaded
  • guess or allow the user to specify what it actually is right now so that all the templates can be shifted
  • in case of where top-leftmost isn't 0,0 (aka negative coords or shrinking canvas), allow templates to choose between UI coords or html canvas coords

this would hopefully make it less confusing to handle various expansion, contraction, 0/0 not being top-left, and other such gimmicks

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

1 participant