Skip to content

Commit

Permalink
changes ring renderOrder to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
dtclinch committed Aug 6, 2024
1 parent 2ab6ff6 commit a14ac24
Show file tree
Hide file tree
Showing 8 changed files with 1,637 additions and 28 deletions.
6 changes: 3 additions & 3 deletions dist/index.js

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

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/index.umd.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -1933,7 +1933,7 @@
});
const strokeWidthFraction = strokeWidth / 10;
const outerRadius = innerRadius + strokeWidthFraction;
return /* @__PURE__ */ jsxRuntime.jsx(glodrei.Billboard, { position: [0, 0, 0], children: /* @__PURE__ */ jsxRuntime.jsxs(three$1.a.mesh, { scale: ringSize, children: [
return /* @__PURE__ */ jsxRuntime.jsx(glodrei.Billboard, { position: [0, 0, 0], children: /* @__PURE__ */ jsxRuntime.jsxs(three$1.a.mesh, { scale: ringSize, renderOrder: 1, children: [
/* @__PURE__ */ jsxRuntime.jsx(
"ringGeometry",
{
Expand All @@ -1947,7 +1947,7 @@
attach: "material",
color: normalizedColor,
transparent: true,
depthTest: true,
depthTest: false,
opacity: ringOpacity,
side: three.DoubleSide,
fog: true
Expand Down Expand Up @@ -2003,7 +2003,7 @@
}
)
] }),
(showRing || selected || active) && /* @__PURE__ */ jsxRuntime.jsx(three$1.a.mesh, { position: [0, 0, 1], children: /* @__PURE__ */ jsxRuntime.jsx(
(showRing || selected || active) && /* @__PURE__ */ jsxRuntime.jsx(three$1.a.mesh, { position: [0, 0, 0], children: /* @__PURE__ */ jsxRuntime.jsx(
Ring,
{
opacity: 1,
Expand Down
2 changes: 1 addition & 1 deletion dist/index.umd.cjs.map

Large diffs are not rendered by default.

Loading

0 comments on commit a14ac24

Please sign in to comment.