Skip to content

PB-1493: add a backdrop and an animation to "Zoom with CTRL" message#1330

Merged
pakb merged 1 commit intodevelopfrom
fix-PB-1493-add-backdrop-and-animation
May 8, 2025
Merged

PB-1493: add a backdrop and an animation to "Zoom with CTRL" message#1330
pakb merged 1 commit intodevelopfrom
fix-PB-1493-add-backdrop-and-animation

Conversation

@pakb
Copy link
Contributor

@pakb pakb commented May 8, 2025

When embedding the viewer, and activating the "Only CTRL + Wheel to zoom" checkbox, the visual feedback was a bit weak IMO, so I added a black transparent backdrop when showing the message, and centered it so that it doesn't cover the "show on map.geo.admin.ch" link on a small embed

Test link

@github-actions github-actions bot added the bug label May 8, 2025
@pakb pakb force-pushed the fix-PB-1493-add-backdrop-and-animation branch from dcd8b09 to e9fe9d9 Compare May 8, 2025 09:37
@cypress
Copy link

cypress bot commented May 8, 2025

web-mapviewer    Run #5259

Run Properties:  status check passed Passed #5259  •  git commit 0064e53d6d: PB-1493: add a backdrop and an animation to "Zoom with CTRL" message
Project web-mapviewer
Branch Review fix-PB-1493-add-backdrop-and-animation
Run status status check passed Passed #5259
Run duration 05m 24s
Commit git commit 0064e53d6d: PB-1493: add a backdrop and an animation to "Zoom with CTRL" message
Committer Pascal Barth
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 20
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 251
View all changes introduced in this branch ↗︎

@pakb pakb force-pushed the fix-PB-1493-add-backdrop-and-animation branch from e9fe9d9 to 0064e53 Compare May 8, 2025 13:23
@pakb pakb requested review from schtibe and sommerfe May 8, 2025 13:39
Copy link
Contributor

@sommerfe sommerfe left a comment

Choose a reason for hiding this comment

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

LGTM

Sometimes when checking the checkbox you can still scroll with the mouse without holding ctrl, but probably not related to this ticket

@pakb pakb merged commit ebdb176 into develop May 8, 2025
9 checks passed
@pakb pakb deleted the fix-PB-1493-add-backdrop-and-animation branch May 8, 2025 14:16
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.

2 participants