|
@@ -62,12 +62,14 @@ watch(drag, (drag) => {
|
|
|
const offsetX = drag.x;
|
|
|
|
|
|
const currentX = props.currentTime * misPixel + offsetX;
|
|
|
+ console.log(offsetX, currentX / misPixel);
|
|
|
currentX >= 0 && emit("update:currentTime", currentX / misPixel);
|
|
|
});
|
|
|
|
|
|
const invConfig = useViewerInvertTransformConfig();
|
|
|
const currentX = computed(() => props.currentTime * misPixel);
|
|
|
const currentMat = computed(() => {
|
|
|
+ console.log(currentX.value);
|
|
|
return new Transform()
|
|
|
.translate(currentX.value, 0)
|
|
|
.scale(invConfig.value.scaleX, 1)
|