mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 18:05:33 +02:00
Bug 573498: Fix bg color when hovering over annotations in dark mode
SWT.COLOR_GRAY is gray in dark or light mode, but COLOR_TEXT_DISABLED_BACKGROUND changes with the theme so always leaves the text legible. Change-Id: I3d0c2d1a19baa618ef08c5c40e35fbdda11691e2
This commit is contained in:
parent
2c63592dd6
commit
78b9b1e16c
1 changed files with 1 additions and 1 deletions
|
@ -900,7 +900,7 @@ public class AnnotationExpansionControl implements IInformationControl, IInforma
|
|||
}
|
||||
|
||||
private Color getHighlightColor(Display disp) {
|
||||
return disp.getSystemColor(SWT.COLOR_GRAY);
|
||||
return disp.getSystemColor(SWT.COLOR_TEXT_DISABLED_BACKGROUND);
|
||||
}
|
||||
|
||||
private Color getSelectionColor(Display disp) {
|
||||
|
|
Loading…
Add table
Reference in a new issue