Skip to content

Commit

Permalink
Remove workaround for SWT gradient bug
Browse files Browse the repository at this point in the history
- This was fixed years ago
  • Loading branch information
Phillipus committed Jul 30, 2024
1 parent b42cd4c commit 62a13f5
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -357,9 +357,6 @@ protected Pattern applyGradientPattern(Graphics graphics, Rectangle bounds) {

// Apply gradient
if(getGradient() != IDiagramModelObject.GRADIENT_NONE) {
// Ensure graphics#alpha is 255
// See https://bugs.eclipse.org/bugs/show_bug.cgi?id=575778
graphics.setAlpha(255);
gradient = FigureUtils.createGradient(graphics, bounds, getFillColor(), getAlpha(), Direction.get(getGradient()));
graphics.setBackgroundPattern(gradient);
}
Expand Down

0 comments on commit 62a13f5

Please sign in to comment.