aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-10-04 08:04:05 -0400
committerbobzel <zzzman@gmail.com>2023-10-04 08:04:05 -0400
commit9e642f6957fcda77262f2ef32ec8e05a64fb13f2 (patch)
treeaba871429cbf280d0ef385ffa26c7e4d4ae99d31
parent0df1fc3fd85c1dea84dcaec5a934fc08f0da6832 (diff)
using hard-light instead of multiply for blend mode of web clippings to better handle white text
-rw-r--r--src/client/views/nodes/WebBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/WebBox.tsx b/src/client/views/nodes/WebBox.tsx
index d4ba7a48f..c4458be75 100644
--- a/src/client/views/nodes/WebBox.tsx
+++ b/src/client/views/nodes/WebBox.tsx
@@ -1001,7 +1001,7 @@ export class WebBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps
onPointerDown={this.onMarqueeDown}>
<div className="webBox-innerContent" style={{ height: (this._webPageHasBeenRendered && this._scrollHeight) || '100%', pointerEvents }}>
{this.content}
- {<div style={{ display: DragManager.docsBeingDragged.length ? 'none' : undefined, mixBlendMode: 'multiply' }}>{renderAnnotations(this.transparentFilter)}</div>}
+ {<div style={{ display: DragManager.docsBeingDragged.length ? 'none' : undefined, mixBlendMode: this._url ? 'multiply' : 'hard-light' }}>{renderAnnotations(this.transparentFilter)}</div>}
{renderAnnotations(this.opaqueFilter)}
{this.annotationLayer}
</div>