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

Fix background and fog paints returned by getInfo("map") #5181

Merged

Conversation

kwvanderlinde
Copy link
Collaborator

@kwvanderlinde kwvanderlinde commented Feb 6, 2025

Identify the Bug or Feature request

Fixes #5177

Description of the Change

When a DrawableColorPaint is detected, its colour is now properly used instead of using the zone's grid colour.

Possible Drawbacks

None

Documentation Notes

N/A

Release Notes

  • Fixed a bug where getInfo("map") would set the "background paint" and "fog paint" values to the grid colour instead of the background and fog colours.

This change is Reviewable

@kwvanderlinde kwvanderlinde self-assigned this Feb 6, 2025
@github-actions github-actions bot added the bug label Feb 6, 2025
@kwvanderlinde kwvanderlinde force-pushed the bugfix/5177-getInfo-map-wrong-paints branch from 1635716 to f4ecbbd Compare February 6, 2025 05:20
@cwisniew cwisniew added this pull request to the merge queue Feb 8, 2025
Merged via the queue into RPTools:develop with commit baabe42 Feb 8, 2025
4 checks passed
@kwvanderlinde kwvanderlinde deleted the bugfix/5177-getInfo-map-wrong-paints branch February 8, 2025 00:54
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.

[Bug]: Incorrect background paint reported by getInfo("map")
2 participants