|
@@ -147,6 +147,7 @@ export default defineComponent({
|
|
|
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",
|
|
@@ -309,6 +310,7 @@ export default defineComponent({
|
|
|
styles.position,
|
|
|
// scoreItem ? `scoreItemLeve${scoreItem.leve}` : "", // 去掉评测小节得分的背景色
|
|
|
(state.platform === IPlatform.PC && state.zoom > 0.8) ? styles.linePC : '',
|
|
|
+ `measureIndex_${item.index}`
|
|
|
]}
|
|
|
style={item.staveBox}
|
|
|
onClick={() => handleSelection(item)}
|