Skip to content
Snippets Groups Projects
Commit 02b03a05 authored by SeeLook's avatar SeeLook
Browse files

Better place of key signature name to avoid collision with mobile menu

parent 84842ea1
No related branches found
No related tags found
No related merge requests found
......@@ -69,10 +69,10 @@ Score {
id: keyName
parent: firstStaff
visible: GLOB.showKeyName && enableKeySign
x: clef === Tclef.PianoStaffClefs ? 6.5 : 4.5
y: clef === Tclef.PianoStaffClefs ? 2.5 : 5
x: clef === Tclef.PianoStaffClefs ? 7.5 : 5.5
y: clef === Tclef.PianoStaffClefs ? 3.7 : 6.2
color: activPal.text
font { family: "Sans"; pointSize: 1.5 }
font { family: "Sans"; pointSize: 1.3 }
text: getKeyNameText()
function getKeyNameText() {
return enableKeySign && firstStaff.keySignature ? Noo.majAndMinKeyName(firstStaff.keySignature.key) : ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment