mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
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:
parent
4652b69488
commit
a1e16c9676
2 changed files with 2 additions and 7 deletions
|
@ -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()
|
||||
|
|
|
@ -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%;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue