|
@@ -47,10 +47,13 @@
|
|
|
import { Pos } from "@/sdk";
|
|
|
import { computed } from "vue";
|
|
|
import { sceneSeting } from "@/store/sceneSeting";
|
|
|
+import { useSDK } from "@/hook";
|
|
|
|
|
|
const props = defineProps<{ rangeKey: string }>();
|
|
|
+const topSetting = useSDK().scene.getSceneCropSetting().top;
|
|
|
+
|
|
|
const sceneRangeSetting = {
|
|
|
- top: { min: 0, max: 10, step: 0.5, unit: "米" },
|
|
|
+ top: { min: topSetting.minTop, max: topSetting.maxTop, step: 0.5, unit: "米" },
|
|
|
scale: { min: 0, max: 100, step: 0.1, unit: "%" },
|
|
|
rotate: { min: -180, max: 180, step: 1, unit: "°" },
|
|
|
};
|