Skip to content

Commit 3bb1525

Browse files
committed
Fix search box background in subs view + windows dark
1 parent 98e8da7 commit 3bb1525

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

uis/src/com/biglybt/ui/swt/components/BubbleTextBox.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -631,12 +631,12 @@ public void removeBubbleTextBoxChangeListenener(
631631
public void validateFilterRegex() {
632632
Color old_bg = (Color) textWidget.getData("TVSWTC:filter.bg");
633633
if (old_bg == null) {
634-
old_bg = textWidget.getBackground();
634+
old_bg = Utils.getSkinnedBackground( textWidget );
635635
textWidget.setData("TVSWTC:filter.bg", old_bg);
636636
}
637637
Color old_fg = (Color) textWidget.getData("TVSWTC:filter.fg");
638638
if (old_fg == null) {
639-
old_fg = textWidget.getForeground();
639+
old_fg = Utils.getSkinnedForeground( textWidget );
640640
textWidget.setData("TVSWTC:filter.fg", old_fg);
641641
}
642642
boolean old = regexIsError;

0 commit comments

Comments
 (0)