We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
gephi/modules/AppearancePlugin/src/main/java/org/gephi/appearance/plugin/palette/PaletteManager.java
Line 117 in c1d40ce
The code makes no sense:
public Palette generatePalette(int colorCount, Preset preset) { int quality = 50; if (colorCount > 50) { quality = 25; } else if (colorCount > 100) { quality = 10; } else if (colorCount > 200) { quality = 5; } else if (colorCount > 300) { quality = 2; }
I think it should be:
var quality = 50 if (colorCount > 300) { quality = 2 } else if (colorCount > 200) { quality = 5 } else if (colorCount > 100) { quality = 10 } else if (colorCount > 50) { quality = 25 }
The text was updated successfully, but these errors were encountered:
This was fixed in #2363, closing
Sorry, something went wrong.
No branches or pull requests
gephi/modules/AppearancePlugin/src/main/java/org/gephi/appearance/plugin/palette/PaletteManager.java
Line 117 in c1d40ce
The code makes no sense:
I think it should be:
The text was updated successfully, but these errors were encountered: