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

GetPalette gives smaller or bigger palette than asked #12

Open
Duckrinium opened this issue Dec 2, 2018 · 0 comments
Open

GetPalette gives smaller or bigger palette than asked #12

Duckrinium opened this issue Dec 2, 2018 · 0 comments

Comments

@Duckrinium
Copy link

For example:
if I call GetPalette and, let say, ask for 10 colors, it can give me 9.
And if I ask for 2 colors, it can give me 3 or 4.

for now I'm solving it by two ways:

  • count++ till asked count satisfy
  • making big palette and take first(count) colors
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

No branches or pull requests

1 participant