diff --git a/src/app/editor/sourceHighlighter.js b/src/app/editor/sourceHighlighter.js index 73f8181239..55920b3900 100644 --- a/src/app/editor/sourceHighlighter.js +++ b/src/app/editor/sourceHighlighter.js @@ -47,7 +47,7 @@ class SourceHighlighter { .highlightcode { position:absolute; z-index:20; - opacity: 0.2; + opacity: 0.3; background-color: ${style || 'var(--info)'}; } .highlightcode_fullLine { @@ -61,7 +61,7 @@ class SourceHighlighter { } ` - this.statementMarker = this._deps.editor.addMarker(lineColumnPos, this.source, css.highlightcode.className + ' ' + css.customBackgroundColor.className + ' ' + `highlightLine${lineColumnPos.start.line}`) + this.statementMarker = this._deps.editor.addMarker(lineColumnPos, this.source, css.highlightcode.className + ' ' + css.customBackgroundColor.className + ' ' + `highlightLine${lineColumnPos.start.line}`) this._deps.editor.scrollToLine(lineColumnPos.start.line, true, true, function () {}) this.position = lineColumnPos if (lineColumnPos.start.line === lineColumnPos.end.line) { diff --git a/src/app/ui/styles/renderer-styles.js b/src/app/ui/styles/renderer-styles.js index 05627ecd25..7dc047c440 100644 --- a/src/app/ui/styles/renderer-styles.js +++ b/src/app/ui/styles/renderer-styles.js @@ -3,7 +3,6 @@ var yo = require('yo-yo') var css = yo`` diff --git a/test-browser/tests/staticAnalysis.test.js b/test-browser/tests/staticAnalysis.test.js index d97d8f1973..4ee4183475 100644 --- a/test-browser/tests/staticAnalysis.test.js +++ b/test-browser/tests/staticAnalysis.test.js @@ -38,11 +38,11 @@ function runTests (browser) { .testContracts('Untitled.sol', sources[0]['browser/Untitled.sol'], ['TooMuchGas', 'test1', 'test2']) .clickLaunchIcon('solidityStaticAnalysis') .click('#staticanalysisView button') - .waitForElementPresent('#staticanalysisresult .staticAnalysisWarning', 2000, true, function () { + .waitForElementPresent('#staticanalysisresult .warning', 2000, true, function () { listSelectorContains(['Use of tx.origin', 'Fallback function of contract TooMuchGas requires too much gas', 'TooMuchGas.() : Variables have very similar names test and test1.'], - '#staticanalysisresult .staticAnalysisWarning', + '#staticanalysisresult .warning', browser, function () { browser.end() }