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

[MIK-311B] Map upload bugs #146

Merged
merged 5 commits into from
Sep 21, 2024
Merged

[MIK-311B] Map upload bugs #146

merged 5 commits into from
Sep 21, 2024

Conversation

Lredigonda
Copy link
Contributor

No description provided.

@Lredigonda Lredigonda requested a review from miku448 August 20, 2024 13:27
@miku448
Copy link
Contributor

miku448 commented Aug 25, 2024

it should not upload the mask first, we should check if the ratio matches the map ratio with some error tolerance

// check if the mask is the same size as the map image

mapImage.onload = () => {
if (mapImage.width !== image.width || mapImage.height !== image.height) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be a comparison of ratios?

@miku448 miku448 merged commit a28e417 into master Sep 21, 2024
2 checks passed
@miku448 miku448 deleted the MIK-311B-fix-map-upload branch September 21, 2024 14:20
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

Successfully merging this pull request may close these issues.

2 participants