Skip to content

Commit

Permalink
Merge pull request #476 from d-i-t-a/develop
Browse files Browse the repository at this point in the history
2.3.10
  • Loading branch information
aferditamuriqi authored Aug 12, 2023
2 parents 1081322 + 882e9fb commit 874fa1d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@d-i-t-a/reader",
"version": "2.3.9",
"version": "2.3.10",
"description": "A viewer application for EPUB files.",
"repository": "https://github.com/d-i-t-a/R2D2BC",
"license": "Apache-2.0",
Expand Down
5 changes: 4 additions & 1 deletion src/modules/highlight/TextHighlighter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2791,8 +2791,11 @@ export class TextHighlighter {
let drawStrikeThrough = false;
let drawBackground = false;

const doNotMergeHorizontallyAlignedRects =
let doNotMergeHorizontallyAlignedRects =
drawUnderline || drawStrikeThrough || drawBackground;
log.debug(doNotMergeHorizontallyAlignedRects);
// TODO: override doNotMergeHorizontallyAlignedRects to always be true, will need to come back to this if any changes need to be done, or the above removed
doNotMergeHorizontallyAlignedRects = true;

const clientRects = getClientRectsNoOverlap(
range,
Expand Down

0 comments on commit 874fa1d

Please sign in to comment.