Don't show cursor in track-changes diff

This commit is contained in:
James Allen 2014-06-27 14:46:39 +01:00
parent 0d334a560e
commit 7af839215f
2 changed files with 6 additions and 1 deletions

View file

@ -57,7 +57,7 @@ div#trackChanges(ng-show="ui.view == 'track-changes'")
span(ng-if="update_user.id == user.id") You
.diff.full-size
.diff-editor(
.diff-editor.hide-ace-cursor(
ace-editor,
ng-show="!!trackChanges.diff && !trackChanges.diff.loading",
theme="settings.theme",

View file

@ -123,6 +123,11 @@
.diff {
margin-right: @changesListWidth;
.hide-ace-cursor {
.ace_active-line, .ace_cursor-layer, .ace_gutter-active-line {
display: none;
}
}
}
aside.change-list {