Skip to content

Update AnnotationManagerImpl.kt #2627

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

Closed
wants to merge 1 commit into from
Closed

Conversation

eirikangry
Copy link

@eirikangry eirikangry commented May 9, 2025

Just a small fix to the logic that checks if amount of point is within the specified values. It now checks if amount of point is bigger than or equal to the specified value (first Int in colorLevels[level]) insted of just bigger than

Summary of changes

This is a bug fix that fixes a smal blunder. The images should provide enough info
image
As you can see the circle with 20 points is missing color
image

User impact (optional)

Pull request 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. If tests were not written, please explain why.
  • Optimize code for java consumption (@JvmOverloads, @file:JvmName, etc).
  • Add example if relevant.
  • Document any changes to public APIs.
  • Run make update-api to update generated api files, if there's public API changes, otherwise the verify-api-* CI steps might fail.
  • Update CHANGELOG.md or use the label 'skip changelog', otherwise check changelog CI step will fail.
  • If this PR is a v10.[version] release branch fix / enhancement, merge it to main firstly and then port to v10.[version] release branch.

Fixes: < Link to related issues that will be fixed by this pull request, if they exist >

PRs must be submitted under the terms of our Contributor License Agreement CLA.

Just a smal fix to the logic that checks if amount of point is within the specified values. It now checks if amount of point is bigger than or equal to the specified value (first Int in colorLevels[level])
@eirikangry eirikangry requested a review from a team as a code owner May 9, 2025 23:11
@eirikangry eirikangry requested a review from natiginfo May 9, 2025 23:11
@CLAassistant
Copy link

CLAassistant commented May 9, 2025

CLA assistant check
All committers have signed the CLA.

@eirikangry
Copy link
Author

was supposed to add skip changelog but i honestly have no clue how to do it

@eirikangry eirikangry marked this pull request as draft May 17, 2025 01:06
@eirikangry eirikangry closed this May 17, 2025
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.

2 participants