mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-24 05:31:17 +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(
|
@_addMarkerWithCustomStyle(
|
||||||
new Range(
|
new Range(
|
||||||
annotation.highlight.start.row, annotation.highlight.start.column,
|
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",
|
"annotation highlight",
|
||||||
false,
|
false,
|
||||||
|
@ -228,7 +228,7 @@ define [
|
||||||
@_addMarkerWithCustomStyle(
|
@_addMarkerWithCustomStyle(
|
||||||
new Range(
|
new Range(
|
||||||
annotation.strikeThrough.start.row, annotation.strikeThrough.start.column,
|
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",
|
"annotation strike-through-background",
|
||||||
false,
|
false,
|
||||||
|
@ -237,7 +237,7 @@ define [
|
||||||
@_addMarkerWithCustomStyle(
|
@_addMarkerWithCustomStyle(
|
||||||
new Range(
|
new Range(
|
||||||
annotation.strikeThrough.start.row, annotation.strikeThrough.start.column,
|
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",
|
"annotation strike-through-foreground",
|
||||||
true,
|
true,
|
||||||
|
|
Loading…
Reference in a new issue