Skip to content

Commit 4f64b3b

Browse files
authored
Merge pull request #571 from thewtex/interactor-style-states
fix(InteractorStyleTrackballCamera): Fix import of vtkInteractorStyle…
2 parents e1f0521 + 387f8dd commit 4f64b3b

File tree

1 file changed

+2
-1
lines changed
  • Sources/Interaction/Style/InteractorStyleTrackballCamera

1 file changed

+2
-1
lines changed

Sources/Interaction/Style/InteractorStyleTrackballCamera/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import macro from 'vtk.js/Sources/macro';
22
import vtkInteractorStyle from 'vtk.js/Sources/Rendering/Core/InteractorStyle';
3+
import vtkInteractorStyleConstants from 'vtk.js/Sources/Rendering/Core/InteractorStyle/Constants';
34
import vtkMath from 'vtk.js/Sources/Common/Core/Math';
45
import {
56
Device,
67
Input,
78
} from 'vtk.js/Sources/Rendering/Core/RenderWindowInteractor/Constants';
89

9-
const { States } = vtkInteractorStyle;
10+
const { States } = vtkInteractorStyleConstants;
1011

1112
/* eslint-disable no-lonely-if */
1213

0 commit comments

Comments
 (0)