Skip to content

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

Merged
cwisniew merged 1 commit into
RPTools:developfrom
kwvanderlinde:bugfix/5177-getInfo-map-wrong-paints
Feb 8, 2025
Merged

Fix background and fog paints returned by getInfo("map")#5181
cwisniew merged 1 commit into
RPTools:developfrom
kwvanderlinde:bugfix/5177-getInfo-map-wrong-paints

Conversation

@kwvanderlinde

@kwvanderlinde kwvanderlinde commented Feb 6, 2025

Copy link
Copy Markdown
Collaborator

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
@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

Status: Merged

Development

Successfully merging this pull request may close these issues.

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

2 participants