|
@@ -134,9 +134,9 @@ const calcNoteData = () => {
|
|
|
} catch (error) {}
|
|
|
|
|
|
// console.log("🚀 ~ staveEle:", staveBbox.height)
|
|
|
- selectData.measureHeight = staveBbox.height
|
|
|
let compareVal = staveBbox.height - minMeasureHeigt
|
|
|
compareVal = compareVal > 0 ? compareVal : 0
|
|
|
+ selectData.measureHeight = staveBbox.height - compareVal
|
|
|
noteItem.staveBox = {
|
|
|
left: staveBbox.x - parentLeft + "px",
|
|
|
// top: ((item.stave.y || 0) - 5) * state.zoom + "px",
|