Skip to content

Commit da5ea21

Browse files
committed
🐄
1 parent 9f3d14e commit da5ea21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plots/gl3d/scene.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ function render(scene) {
8181

8282
if(scene.fullSceneLayout.hovermode) {
8383
Fx.loneHover({
84-
x: (0.5 + 0.5 * pdata[0]/pdata[3]) * width,
85-
y: (0.5 - 0.5 * pdata[1]/pdata[3]) * height,
84+
x: (0.5 + 0.5 * pdata[0] / pdata[3]) * width,
85+
y: (0.5 - 0.5 * pdata[1] / pdata[3]) * height,
8686
xLabel: formatter('xaxis', selection.traceCoordinate[0]),
8787
yLabel: formatter('yaxis', selection.traceCoordinate[1]),
8888
zLabel: formatter('zaxis', selection.traceCoordinate[2]),

0 commit comments

Comments
 (0)