From 28fe939c4b2f82d475271a22394267c0ffcb2601 Mon Sep 17 00:00:00 2001 From: Laurent Pugin Date: Thu, 19 Sep 2024 08:31:48 +0200 Subject: [PATCH] Remove legacy treatment of in-line key signatures as scoredefs [skip-ci] * Test-suite evaluated locally --- src/alignfunctor.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/alignfunctor.cpp b/src/alignfunctor.cpp index 517f3ccf135..c3877c156ee 100644 --- a/src/alignfunctor.cpp +++ b/src/alignfunctor.cpp @@ -202,10 +202,7 @@ FunctorCode AlignHorizontallyFunctor::VisitLayerElement(LayerElement *layerEleme else if (layerElement->GetScoreDefRole() == SCOREDEF_CAUTIONARY) type = ALIGNMENT_SCOREDEF_CAUTION_KEYSIG; else { - // type = ALIGNMENT_KEYSIG; - // We force this because they should appear only at the beginning of a measure and should be non-justifiable - // We also need it because the PAE importer creates keySig (and not staffDef @key.sig) - type = ALIGNMENT_SCOREDEF_KEYSIG; + type = ALIGNMENT_KEYSIG; } } else if (layerElement->Is(MENSUR)) {