Skip to content

Commit

Permalink
[PR#950] Suggested changes #2
Browse files Browse the repository at this point in the history
  • Loading branch information
chelobaka authored and miurahr committed Jul 11, 2024
1 parent 7cf6dd6 commit 0f264fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/org/omegat/gui/editor/mark/AltTranslationsMarker.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

public class AltTranslationsMarker extends AbstractMarker {

protected static final Highlighter.HighlightPainter PAINTER = new TransparentHighlightPainter(
private final Highlighter.HighlightPainter painter = new TransparentHighlightPainter(
Styles.EditorColor.COLOR_MARK_ALT_TRANSLATION.getColor(), 0.5F);

public static void loadPlugins() {
Expand All @@ -62,7 +62,7 @@ public List<Mark> getMarksForEntry(SourceTextEntry ste, String sourceText, Strin

if (!Core.getProject().getTranslationInfo(ste).defaultTranslation) {
Mark m = new Mark(Mark.ENTRY_PART.TRANSLATION, 0, translationText.length());
m.painter = PAINTER;
m.painter = painter;
return Collections.singletonList(m);
}

Expand Down

0 comments on commit 0f264fd

Please sign in to comment.