Commit 05a9623a authored by Phil Hughes's avatar Phil Hughes

change background of diff overview

fix content not resetting when discarded
parent b40e2c7d
...@@ -229,6 +229,11 @@ ...@@ -229,6 +229,11 @@
.vertical-center { .vertical-center {
min-height: auto; min-height: auto;
} }
.monaco-diff-editor.vs .diffOverview,
.monaco-diff-editor.vs .diffViewport {
background-color: $white-light;
}
} }
.multi-file-editor-holder { .multi-file-editor-holder {
......
...@@ -153,4 +153,6 @@ export const discardFileChanges = ({ commit }, file) => { ...@@ -153,4 +153,6 @@ export const discardFileChanges = ({ commit }, file) => {
if (file.tempFile && file.opened) { if (file.tempFile && file.opened) {
commit(types.TOGGLE_FILE_OPEN, file); commit(types.TOGGLE_FILE_OPEN, file);
} }
eventHub.$emit(`editor.update.model.content.${file.path}`, file.raw);
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment