Merge pull request #1600 from sharelatex/as-rttc-text-markers

Switch delete track change markers to use bookmark system to improve performance

GitOrigin-RevId: 865003ba30728f7104ad4c1b9e114998aa7d66a0
This commit is contained in:
Jessica Lawshe 2019-03-13 11:38:06 -05:00 committed by sharelatex
parent 4652b69488
commit a1e16c9676
2 changed files with 2 additions and 7 deletions

View file

@ -20,7 +20,6 @@ define([
this.onPaste = this.onPaste.bind(this)
this.onResize = this.onResize.bind(this)
this.tearDown = this.tearDown.bind(this)
this.onDisplayUpdate = this.onDisplayUpdate.bind(this)
this.$scope = $scope
this.editor = editor
@ -426,10 +425,6 @@ define([
})
}
onDisplayUpdate() {
requestAnimationFrame(this.adapter.changeMarkerPositions)
}
onCut() {
this._resetCutState()
const selection = this.editor.getSelectionRange()

View file

@ -937,10 +937,10 @@
color: black;
}
.track-changes-deleted-marker-callout {
.track-changes-deleted-marker {
border-left: 2px dotted #c5060b;
// Commented out styles for callout to be reimplemented later
// border-bottom: 1px dashed #c5060b;
border-left: 2px dotted #c5060b;
// width: 100%;
}