Skip to content

Commit

Permalink
Amend #1958 - PCA - adjust background color of formula display
Browse files Browse the repository at this point in the history
The background need to be set twice. Otherwise, it works in the wizard,
but not in the editor.
  • Loading branch information
eselmeister committed Nov 18, 2024
1 parent de4b86a commit 317e862
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ public void paintControl(PaintEvent e) {
int x = (int)(dest.width / 2.0f - src.width / 2.0f);
int y = (int)(dest.height / 2.0f - src.height / 2.0f);
e.gc.drawImage(image, x, y);
canvas.setBackground(Display.getDefault().getSystemColor(SWT.COLOR_LIST_BACKGROUND));
}
}
});
Expand Down

0 comments on commit 317e862

Please sign in to comment.