From ec00a10f490ec947c11d4cf8f023998557c80203 Mon Sep 17 00:00:00 2001 From: RabsRincon Date: Sun, 5 Dec 2021 16:26:45 +0100 Subject: [PATCH] Clear the compiler output on language change --- static/panes/compiler.js | 2 +- static/themes/dark-theme.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/panes/compiler.js b/static/panes/compiler.js index 5bbcecaef..887aec28a 100644 --- a/static/panes/compiler.js +++ b/static/panes/compiler.js @@ -2427,7 +2427,7 @@ Compiler.prototype.onLanguageChange = function (editorId, newLangId, treeId) { this.updateCompilersSelector(info); this.saveState(); this.updateCompilerUI(); - + this.setAssembly(fakeAsm('')); // this is a workaround to delay compilation further until the Editor sends a compile request this.needsCompile = false; diff --git a/static/themes/dark-theme.scss b/static/themes/dark-theme.scss index 66b0cab21..f2af82d87 100644 --- a/static/themes/dark-theme.scss +++ b/static/themes/dark-theme.scss @@ -381,7 +381,7 @@ textarea.form-control { } .custom-select { - background-color: #818181 !important; + background-color: #76a1c8 !important; } kbd {