Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(controls): Rename controls model3d -> box3d #1389

Merged
merged 1 commit into from
May 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/lib/viewers/box3d/model3d/Model3DControlsNew.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React from 'react';
import AnimationControls, { Props as AnimationControlsProps } from '../../controls/model3d/AnimationControls';
import AnimationControls, { Props as AnimationControlsProps } from '../../controls/box3d/AnimationControls';
import ControlsBar from '../../controls/controls-bar';
import FullscreenToggle, { Props as FullscreenToggleProps } from '../../controls/fullscreen';
import Model3DSettings, { Props as Model3DSettingsProps } from '../../controls/model3d/Model3DSettings';
import ResetControl, { Props as ResetControlProps } from '../../controls/model3d/ResetControl';
import VrToggleControl, { Props as VrToggleControlProps } from '../../controls/model3d/VrToggleControl';
import Model3DSettings, { Props as Model3DSettingsProps } from '../../controls/box3d/Model3DSettings';
import ResetControl, { Props as ResetControlProps } from '../../controls/box3d/ResetControl';
import VrToggleControl, { Props as VrToggleControlProps } from '../../controls/box3d/VrToggleControl';

export type Props = AnimationControlsProps &
FullscreenToggleProps &
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import React from 'react';
import { shallow, ShallowWrapper } from 'enzyme';
import AnimationControls from '../../../controls/model3d/AnimationControls';
import AnimationControls from '../../../controls/box3d/AnimationControls';
import FullscreenToggle from '../../../controls/fullscreen';
import Model3DControls, { Props } from '../Model3DControlsNew';
import Model3DSettings, { CameraProjection, RenderMode } from '../../../controls/model3d/Model3DSettings';
import ResetControl from '../../../controls/model3d/ResetControl';
import VrToggleControl from '../../../controls/model3d/VrToggleControl';
import Model3DSettings, { CameraProjection, RenderMode } from '../../../controls/box3d/Model3DSettings';
import ResetControl from '../../../controls/box3d/ResetControl';
import VrToggleControl from '../../../controls/box3d/VrToggleControl';

describe('lib/viewers/box3d/model3d/Model3DControlsNew', () => {
const getDefaults = (): Props => ({
Expand Down