Skip to content

Fix screenshot map-only behavior#423

Open
annehaley wants to merge 1 commit into
masterfrom
fix-view-screenshots
Open

Fix screenshot map-only behavior#423
annehaley wants to merge 1 commit into
masterfrom
fix-view-screenshots

Conversation

@annehaley

Copy link
Copy Markdown
Collaborator

As I was writing the documentation for the controls bar, I found this bug. The takeScreenshot function is used for the screenshot menu AND for creating the thumbnail for a new saved view. That function used mapOnly to determine whether to include sidebar elements in the screenshot, but mapOnly should only apply to the screenshots menu. If mapOnly was checked in the screenshot menu, the thumbnail for a new saved view would not include the sidebars. This PR adjusts that behavior such that sidebars are always included in new view thumbnails.

@annehaley
annehaley requested a review from BryonLewis July 20, 2026 19:21
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.

1 participant