perf: 优化参考线的展示方式

This commit is contained in:
奔跑的面条 2022-08-21 14:52:30 +08:00
parent 3b8181ae10
commit 72c26b71f3

View File

@ -177,7 +177,6 @@ export const useSync = () => {
// 获取缩略图片
const range = document.querySelector('.go-edit-range') as HTMLElement
const ruler = document.getElementById('mb-ruler')
// 生成图片
const canvasImage: HTMLCanvasElement = await html2canvas(range, {
backgroundColor: null