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

Improvements to the stretch tool #92

Open
shannonturner opened this issue Jan 3, 2025 · 0 comments
Open

Improvements to the stretch tool #92

shannonturner opened this issue Jan 3, 2025 · 0 comments
Labels
user requested Requested by MMM users

Comments

@shannonturner
Copy link
Owner

Suggestion from email:

Is it possible to make one able to stretch a 240x240 map (The previous max size) to a 360x360 map (The new max size)?

This might be difficult since stretching essentially doubles all points in a line, and while isMapStretchable() can be fudged to always return true, that would result in data loss on the right/bottom sides of the map.

One thing I could do would be to make isMapStretchable() calculate your current actually-used area rather than relying on gridRows / gridCols, which would allow you to stretch a map that was 180x180 (on a 200x200 canvas) to 360x360.

One thing that may help the requester is when #34 is released, since then a portion of the map could be stretched.

@shannonturner shannonturner added the user requested Requested by MMM users label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user requested Requested by MMM users
Projects
None yet
Development

No branches or pull requests

1 participant