|
@@ -269,9 +269,6 @@ export default defineComponent({
|
|
|
// let measureBg = false
|
|
|
if (item.si === 0) {
|
|
|
boundingBox = this.getBoundingBoxByNote(item.noteElement)
|
|
|
- // if (runtime?.osmd?.product) {
|
|
|
- // measureBg = activeNumberXml === item.noteElement.sourceMeasure.MeasureNumberXML
|
|
|
- // }
|
|
|
}
|
|
|
return (
|
|
|
<>
|
|
@@ -394,17 +391,12 @@ export default defineComponent({
|
|
|
)
|
|
|
}
|
|
|
if (index === 1 && boundingBox) {
|
|
|
- boundingBox.width = formatZoom(X - boundingBox.x + 15)
|
|
|
- const isEndNote = true //item.si + 1 === item.noteLength
|
|
|
return (
|
|
|
<div
|
|
|
style={{
|
|
|
position: 'absolute',
|
|
|
top: formatZoom(boundingBox.y - 5) + 'px',
|
|
|
- left:
|
|
|
- (isEndNote ? formatZoom(boundingBox.end_x - 3) : formatZoom(boundingBox.x + boundingBox.width)) -
|
|
|
- 5 +
|
|
|
- 'px',
|
|
|
+ left: formatZoom(boundingBox.end_x) + 'px',
|
|
|
height: formatZoom(boundingBox.height) + 'px',
|
|
|
border: `5px solid ${eyeBorderColor}`,
|
|
|
borderColor: `${eyeBorderColor} ${eyeBorderColor} ${eyeBorderColor} transparent`,
|