mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 13:37:58 +01:00
move default props
This commit is contained in:
parent
fcfe7f7bc6
commit
81d842cc8c
@ -222,10 +222,6 @@ class Interface extends React.Component {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Interface.defaultProps = {
|
|
||||||
width: 720,
|
|
||||||
height: 480
|
|
||||||
};
|
|
||||||
Interface.propTypes = {
|
Interface.propTypes = {
|
||||||
geometry(props, propName) {
|
geometry(props, propName) {
|
||||||
if (!(props[propName].isGeometry || props[propName].isBufferGeometry)) {
|
if (!(props[propName].isGeometry || props[propName].isBufferGeometry)) {
|
||||||
@ -253,6 +249,8 @@ Interface.defaultProps = {
|
|||||||
defaultQuality: 'medium',
|
defaultQuality: 'medium',
|
||||||
material: materialSettings,
|
material: materialSettings,
|
||||||
defaultMaterial: 'pla',
|
defaultMaterial: 'pla',
|
||||||
|
width: 720,
|
||||||
|
height: 480,
|
||||||
pixelRatio: 1
|
pixelRatio: 1
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user