|
|
@ -108,7 +108,10 @@ const scale = ref(1)
|
|
|
|
const offsetX = ref(0)
|
|
|
|
const offsetX = ref(0)
|
|
|
|
const offsetY = ref(0)
|
|
|
|
const offsetY = ref(0)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const containerRef = ref(null)
|
|
|
|
|
|
|
|
const rulerSize = 40
|
|
|
|
|
|
|
|
const containerWidth = ref(0)
|
|
|
|
|
|
|
|
const containerHeight = ref(0)
|
|
|
|
|
|
|
|
|
|
|
|
const contentWidth = computed(() => containerWidth.value - rulerSize)
|
|
|
|
const contentWidth = computed(() => containerWidth.value - rulerSize)
|
|
|
|
const contentHeight = computed(() => containerHeight.value - rulerSize)
|
|
|
|
const contentHeight = computed(() => containerHeight.value - rulerSize)
|
|
|
|