Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify usage and naming of attributes for controlling visibility of scoreDef properties #1099

Merged
merged 4 commits into from
Apr 27, 2023

Conversation

rettinghaus
Copy link
Member

@rettinghaus rettinghaus commented Apr 22, 2023

This PR make meterSig member of att.visibility and removes the invis value from data.METERFORM, aligning this with clef. To keep the ability to hide the meter signature also when encoded as attributes on scoreDef/staffDef this introduces meter.visible attribute.
Moreover, it renames keysig.show to keysig.visible to have a consistent naming of the attributes controlling the visibility.
closes #1096

@github-actions github-actions bot added the Component: Core Schema changes to source/modules/* (assigned automatically) label Apr 22, 2023
source/modules/MEI.visual.xml Outdated Show resolved Hide resolved
source/modules/MEI.visual.xml Show resolved Hide resolved
@lpugin
Copy link
Member

lpugin commented Apr 27, 2023

Since the PR now changes key signature attributes it would be good to adjust its title accordingly, or alternatively, to make a distinct PR.

@rettinghaus rettinghaus changed the title Make meterSig member of att.visibility Unify usage of att.visibility for scoreDef elements Apr 27, 2023
@bwbohl bwbohl changed the title Unify usage of att.visibility for scoreDef elements Unify usage and naming of attributes for controlling visibility of scoreDef properties Apr 27, 2023
@musicEnfanthen musicEnfanthen merged commit 163b671 into music-encoding:develop Apr 27, 2023
4 checks passed
@bwbohl
Copy link
Member

bwbohl commented Apr 27, 2023

@bwbohl please check if guidelines need to be updated after this merge

@rettinghaus rettinghaus deleted the dev/visibility branch April 27, 2023 17:00
@bwbohl bwbohl added this to the MEI 5.0 milestone May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Core Schema changes to source/modules/* (assigned automatically)
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Make invisibility attributes for clef and meterSig uniform
4 participants