We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ca1a97 commit 538301eCopy full SHA for 538301e
src/graphics3d.js
@@ -1,7 +1,6 @@
1
import {
2
BufferAttribute,
3
BufferGeometry,
4
- Color,
5
LineSegments,
6
PerspectiveCamera,
7
Scene,
@@ -223,7 +222,7 @@ export default function (
223
222
let color = 'black';
224
225
if (i < axes.ticks_style?.length) {
226
- color = new Color(...axes.ticks_style[i]).getStyle();
+ color = `rgb(${axes.ticks_style[i][0] * 255}, ${axes.ticks_style[i][1] * 255}, ${axes.ticks_style[i][2] * 255})`;
227
}
228
229
tickNumbers[i][j] = document.createElement('div');
0 commit comments