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 incorrect transition flag of properties #12372

Merged
merged 1 commit into from
Nov 10, 2022

Conversation

endanke
Copy link
Contributor

@endanke endanke commented Nov 10, 2022

Seems like the specification is incorrect as we don't actually support transitioning of properties with image types.
There's no implementation for image transitioning and currently it just works like as a hard switch when another style is loaded with different image content, as illustrated below:

Screen.Recording.2022-11-10.at.13.21.26.mov

Launch Checklist

  • briefly describe the changes in this PR
  • include before/after visuals or gifs if this PR includes visual changes
  • write tests for all new functionality
  • document any changes to public APIs
  • post benchmark scores
  • manually test the debug page
  • tagged @mapbox/map-design-team @mapbox/static-apis if this PR includes style spec API or visual changes
  • tagged @mapbox/gl-native if this PR includes shader changes or needs a native port
  • apply changelog label ('bug', 'feature', 'docs', etc) or use the label 'skip changelog'
  • add an entry inside this element for inclusion in the mapbox-gl-js changelog: <changelog>Fix incorrect transition flag in *-pattern and line-dasharray properties</changelog>

@endanke endanke requested a review from a team as a code owner November 10, 2022 11:24
Copy link
Member

@mourner mourner left a comment

Choose a reason for hiding this comment

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

Should we fix line-dasharray spec here too, since it uses the same mechanisms in the code?

@endanke
Copy link
Contributor Author

endanke commented Nov 10, 2022

Good point, looks like it's not supported there either

Screen.Recording.2022-11-10.at.13.31.51.mov

@endanke endanke force-pushed the endanke/remove-image-transition-spec branch from a8563f9 to 61b861f Compare November 10, 2022 11:33
@endanke endanke changed the title Fix incorrect transition flag for resolvedImage type properties Fix incorrect transition flag for properties Nov 10, 2022
@endanke endanke changed the title Fix incorrect transition flag for properties Fix incorrect transition flag of properties Nov 10, 2022
@mourner mourner merged commit 58026fd into main Nov 10, 2022
@mourner mourner deleted the endanke/remove-image-transition-spec branch November 10, 2022 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants