Skip to content

Commit 001f45b

Browse files
committed
fix: temp fix for staff rotate default value change
1 parent 9fa466f commit 001f45b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/facsimilefunctor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ FunctorCode SyncFromFacsimileFunctor::VisitStaff(Staff *staff)
184184
m_staffZones[staff] = zone;
185185

186186
// The staff slope is going up. The y left position needs to be adjusted accordingly
187-
if (zone->GetRotate() < 0) {
187+
if (zone->GetRotate() < 0 && zone->GetRotate() != MEI_UNSET) {
188188
staff->m_drawingFacsY = staff->m_drawingFacsY
189189
+ (m_currentNeumeLine->m_drawingFacsX2 - m_currentNeumeLine->m_drawingFacsX1)
190190
* tan(zone->GetRotate() * M_PI / 180.0);

0 commit comments

Comments
 (0)