Update contextualListener.js

pull/3094/head
yann300 6 years ago committed by GitHub
parent 6ba9ef4902
commit e63791b927
  1. 4
      src/app/editor/contextualListener.js

@ -119,7 +119,7 @@ class ContextualListener {
const css = csjs` const css = csjs`
.highlightref_fullLine { .highlightref_fullLine {
position:absolute; position:absolute;
z-index:20; z-index:2;
opacity: 0.4; opacity: 0.4;
background-color: var(--info); background-color: var(--info);
} }
@ -139,7 +139,7 @@ class ContextualListener {
} }
const fileName = lastCompilationResult.getSourceName(position.file) const fileName = lastCompilationResult.getSourceName(position.file)
if (fileName) { if (fileName) {
return this.editor.addMarker(lineColumn, fileName, css.highlightref_fullLine.className) return this.editor.addMarker(lineColumn, fileName, css.highlightref_fullLine)
} }
} }
return null return null

Loading…
Cancel
Save