@ohhwells/bridge 0.1.178 → 0.1.179
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1435,7 +1435,8 @@ function toneOverlayLogos(deps, root, photoSections, boxes) {
|
|
|
1435
1435
|
if (root.matches(OVERLAY_LOGO_SELECTOR)) logos.unshift(root);
|
|
1436
1436
|
for (const logo of logos) {
|
|
1437
1437
|
if (onOwnSurface(deps, logo, root)) {
|
|
1438
|
-
logo.removeAttribute(OVERLAY_TONE_ATTR);
|
|
1438
|
+
if (paintOver(deps.style(logo), { r: 0, g: 0, b: 0, a: 0 }).painted) logo.removeAttribute(OVERLAY_TONE_ATTR);
|
|
1439
|
+
else clearOverlayTone(logo);
|
|
1439
1440
|
continue;
|
|
1440
1441
|
}
|
|
1441
1442
|
const box = deps.rect(logo);
|
|
@@ -19377,7 +19378,7 @@ function apiBase() {
|
|
|
19377
19378
|
function bridgeVersion() {
|
|
19378
19379
|
try {
|
|
19379
19380
|
if (true) {
|
|
19380
|
-
return "0.1.
|
|
19381
|
+
return "0.1.179";
|
|
19381
19382
|
}
|
|
19382
19383
|
} catch {
|
|
19383
19384
|
}
|
|
@@ -19391,7 +19392,7 @@ function stampBridgeVersionOnDocument() {
|
|
|
19391
19392
|
return;
|
|
19392
19393
|
}
|
|
19393
19394
|
try {
|
|
19394
|
-
const v = true ? "0.1.
|
|
19395
|
+
const v = true ? "0.1.179" : "";
|
|
19395
19396
|
if (v) {
|
|
19396
19397
|
document.documentElement.setAttribute("data-ohw-bridge-version", v);
|
|
19397
19398
|
window.__OHW_BRIDGE_VERSION__ = v;
|
|
@@ -34727,7 +34728,7 @@ function OhhwellsBridge() {
|
|
|
34727
34728
|
postToParent2({
|
|
34728
34729
|
type: "ow:ready",
|
|
34729
34730
|
version: "1",
|
|
34730
|
-
bridgeVersion: "0.1.
|
|
34731
|
+
bridgeVersion: "0.1.179",
|
|
34731
34732
|
path: pathname,
|
|
34732
34733
|
nodes: collectEditableNodes(editContentRef.current),
|
|
34733
34734
|
sections
|