|
@@ -52,15 +52,15 @@ useViewStack(() => {
|
|
})
|
|
})
|
|
const defaultAttrs: ModelAttrs = {
|
|
const defaultAttrs: ModelAttrs = {
|
|
show: true,
|
|
show: true,
|
|
- scale: 1,
|
|
|
|
- opacity: 1,
|
|
|
|
|
|
+ scale: 100,
|
|
|
|
+ opacity: 100,
|
|
bottom: 0,
|
|
bottom: 0,
|
|
position: {x: 0, y: 0, z: 0},
|
|
position: {x: 0, y: 0, z: 0},
|
|
rotation: {x: 0, y: 0, z: 0}
|
|
rotation: {x: 0, y: 0, z: 0}
|
|
}
|
|
}
|
|
-const opacityOption = { min: 0, max: 100, step: 0.01, ctrl: false }
|
|
|
|
|
|
+const opacityOption = { min: 0, max: 100, step: 1, ctrl: false }
|
|
const bottomOption = { min: -30, max: 70, step: 0.1, ctrl: false }
|
|
const bottomOption = { min: -30, max: 70, step: 0.1, ctrl: false }
|
|
-const scaleOption = { min: 0, max: 200, step: 0.01, ctrl: false }
|
|
|
|
|
|
+const scaleOption = { min: 0, max: 200, step: 1, ctrl: false }
|
|
const actionItems: ActionsProps['items'] = [
|
|
const actionItems: ActionsProps['items'] = [
|
|
{
|
|
{
|
|
icon: 'move',
|
|
icon: 'move',
|