mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-24 01:41:41 +00:00
Fix off by one error in track changes highlights
This commit is contained in:
parent
b20934e579
commit
7e24972b46
1 changed files with 3 additions and 3 deletions
|
@ -216,7 +216,7 @@ define [
|
|||
@_addMarkerWithCustomStyle(
|
||||
new Range(
|
||||
annotation.highlight.start.row, annotation.highlight.start.column,
|
||||
annotation.highlight.end.row, annotation.highlight.end.column + 1
|
||||
annotation.highlight.end.row, annotation.highlight.end.column
|
||||
),
|
||||
"annotation highlight",
|
||||
false,
|
||||
|
@ -228,7 +228,7 @@ define [
|
|||
@_addMarkerWithCustomStyle(
|
||||
new Range(
|
||||
annotation.strikeThrough.start.row, annotation.strikeThrough.start.column,
|
||||
annotation.strikeThrough.end.row, annotation.strikeThrough.end.column + 1
|
||||
annotation.strikeThrough.end.row, annotation.strikeThrough.end.column
|
||||
),
|
||||
"annotation strike-through-background",
|
||||
false,
|
||||
|
@ -237,7 +237,7 @@ define [
|
|||
@_addMarkerWithCustomStyle(
|
||||
new Range(
|
||||
annotation.strikeThrough.start.row, annotation.strikeThrough.start.column,
|
||||
annotation.strikeThrough.end.row, annotation.strikeThrough.end.column + 1
|
||||
annotation.strikeThrough.end.row, annotation.strikeThrough.end.column
|
||||
),
|
||||
"annotation strike-through-foreground",
|
||||
true,
|
||||
|
|
Loading…
Reference in a new issue