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: Test if opacity is realy undefined #968

Merged

Conversation

ger-benjamin
Copy link
Member

Fix #967

Test if opacity value is undefined or null, but not 0.

@ger-benjamin ger-benjamin force-pushed the 967-test-opacity-is-really-undefined branch from a615412 to 5d11f43 Compare October 4, 2024 08:20
Copy link
Contributor

@jansule jansule left a comment

Choose a reason for hiding this comment

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

Very nice! Thanks @ger-benjamin. Just a small remark we might want to address first.

src/SldStyleParser.ts Outdated Show resolved Hide resolved
@ger-benjamin ger-benjamin force-pushed the 967-test-opacity-is-really-undefined branch 2 times, most recently from e90d898 to 3e66f33 Compare October 8, 2024 07:22
@ger-benjamin
Copy link
Member Author

More changes than expected, but I think is all right.
I let you merge if it looks correct to you @jansule

@ger-benjamin ger-benjamin force-pushed the 967-test-opacity-is-really-undefined branch 2 times, most recently from 5bf44a9 to 4e7104b Compare October 8, 2024 07:33
BREAKING CHANGE: opacity is not longer forced to be 1 on text
symbolizer.
@ger-benjamin ger-benjamin force-pushed the 967-test-opacity-is-really-undefined branch from 4e7104b to 43fc38a Compare October 8, 2024 07:36
@jansule jansule merged commit 858b42b into geostyler:main Oct 8, 2024
6 checks passed
@ger-benjamin ger-benjamin deleted the 967-test-opacity-is-really-undefined branch October 8, 2024 09:52
github-actions bot pushed a commit that referenced this pull request Oct 9, 2024
## [7.0.0](v6.1.2...v7.0.0) (2024-10-09)

### ⚠ BREAKING CHANGES

* opacity will no longer be set to 1 on text
symbolizer if opacity was not explicitly set.

### Bug Fixes

* test if opacity is really undefined ([#968](#968)) ([858b42b](858b42b))
@jansule
Copy link
Contributor

jansule commented Oct 9, 2024

🎉 This PR is included in version 7.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

Some values are considered as undefined but are 0
3 participants