viral-viewer-2 6.8.4 → 6.8.5
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.mjs +3 -4
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -47666,7 +47666,7 @@ class dD {
|
|
|
47666
47666
|
injectContextMenu() {
|
|
47667
47667
|
this.viralViewerApi.targetElement && (this.contextMenu = document.createElement("div"), this.contextMenu.setAttribute("id", "viral-pivot-point"), this.contextMenu.setAttribute(
|
|
47668
47668
|
"style",
|
|
47669
|
-
`position: absolute;top:0px;left:0px;background-color: ${Pt.secondary}; border-radius:5px; height: 10px; width:10px; opacity:80%; transform: translate(-50%, -50%)
|
|
47669
|
+
`position: absolute;top:0px;left:0px;background-color: ${Pt.secondary}; border-radius:5px; height: 10px; width:10px; opacity:80%; transform: translate(-50%, -50%);display: none`
|
|
47670
47670
|
), this.viralViewerApi.targetElement.appendChild(this.contextMenu));
|
|
47671
47671
|
}
|
|
47672
47672
|
show(e, t) {
|
|
@@ -49309,9 +49309,8 @@ class bD {
|
|
|
49309
49309
|
stencil: !0,
|
|
49310
49310
|
logarithmicDepthBuffer: this.config.logarithmicDepthBuffer,
|
|
49311
49311
|
powerPreference: "high-performance",
|
|
49312
|
-
preserveDrawingBuffer: this.config.preserveDrawingBuffer
|
|
49313
|
-
failIfMajorPerformanceCaveat:
|
|
49314
|
-
// Fail if performance is too poor
|
|
49312
|
+
preserveDrawingBuffer: this.config.preserveDrawingBuffer
|
|
49313
|
+
// failIfMajorPerformanceCaveat: true, // Fail if performance is too poor
|
|
49315
49314
|
});
|
|
49316
49315
|
const e = this.renderer.getContext(), t = e.getParameter(
|
|
49317
49316
|
e.MAX_FRAGMENT_UNIFORM_VECTORS
|