Skip to content

PB-437: Fix print scale#824

Merged
ltshb merged 3 commits intodevelopfrom
bug-PB-437-print-scale
May 7, 2024
Merged

PB-437: Fix print scale#824
ltshb merged 3 commits intodevelopfrom
bug-PB-437-print-scale

Conversation

@ltshb
Copy link
Contributor

@ltshb ltshb commented May 7, 2024

The print scale on mobile was empty. This was due to the fact that we took the menu width in the computation for the scale.

Now we don't take the menu width for the scale computation and we move the print center a bit down due to the header overlapping the map.

Also did some renaming to make the code clearer

Test link

The print scale on mobile was empty. This was due to the fact that we took
the menu width in the computation for the scale.

Now we don't take the menu width for the scale computation and we move the
print center a bit down due to the header overlapping the map.

Also did some renaming to make the code clearer
@ltshb ltshb requested review from ismailsunni and pakb May 7, 2024 08:51
@github-actions github-actions bot added the bug label May 7, 2024
@cypress
Copy link

cypress bot commented May 7, 2024

Passing run #2055 ↗︎

0 160 20 0 Flakiness 0

Details:

Fix tests
Project: web-mapviewer Commit: 6ca6f0d32e
Status: Passed Duration: 06:28 💡
Started: May 7, 2024 9:41 AM Ended: May 7, 2024 9:47 AM

Review all test suite changes for PR #824 ↗︎

Copy link
Contributor

@pakb pakb left a comment

Choose a reason for hiding this comment

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

Code looks good but I think you need to edit the print Cypress test to accommodate to your changes

Copy link
Contributor

@ismailsunni ismailsunni left a comment

Choose a reason for hiding this comment

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

LGTM

@ltshb ltshb merged commit bcbaa00 into develop May 7, 2024
@ltshb ltshb deleted the bug-PB-437-print-scale branch May 7, 2024 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants