diff options
author | bobzel <zzzman@gmail.com> | 2023-10-04 08:07:15 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-10-04 08:07:15 -0400 |
commit | a25c717b7ab09b0cf079d691e89f5a56781f2eeb (patch) | |
tree | 8ff56b5e03398018186f9768060486a79315dc8b | |
parent | 9e642f6957fcda77262f2ef32ec8e05a64fb13f2 (diff) |
from last
-rw-r--r-- | src/client/views/nodes/WebBox.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/nodes/WebBox.tsx b/src/client/views/nodes/WebBox.tsx index c4458be75..e71a8fd5a 100644 --- a/src/client/views/nodes/WebBox.tsx +++ b/src/client/views/nodes/WebBox.tsx @@ -938,6 +938,7 @@ export class WebBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps style={{ transform: `scale(${this.zoomScaling()}) translate(${-NumCast(this.layoutDoc.freeform_panX)}px, ${-NumCast(this.layoutDoc.freeform_panY)}px)`, height: Doc.NativeHeight(this.Document) || undefined, + mixBlendMode: this._url ? 'multiply' : 'hard-light', }} ref={this._annotationLayer}> {this.inlineTextAnnotations @@ -1001,7 +1002,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: this._url ? 'multiply' : 'hard-light' }}>{renderAnnotations(this.transparentFilter)}</div>} + {<div style={{ display: DragManager.docsBeingDragged.length ? 'none' : undefined, mixBlendMode: 'multiply' }}>{renderAnnotations(this.transparentFilter)}</div>} {renderAnnotations(this.opaqueFilter)} {this.annotationLayer} </div> |