Skip to content

Commit

Permalink
Prepare for MuseScore 4.4
Browse files Browse the repository at this point in the history
and add a thumbnail ('borrowed' from color notes)
  • Loading branch information
Jojo-Schmitz committed Jul 18, 2024
1 parent f727b1b commit d0900ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions blacknotes.qml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,14 @@ MuseScore {
version: "3.0"
description: qsTr("This plugin paints all chords and rests in black")
menuPath: "Plugins.Notes.Color Notes in Black"
//4.4 title: "Color Notes in Black"
//4.4 thumbnailName: "color_notes.png"
//4.4 categoryCode: "color-notes"

Component.onCompleted : {
if (mscoreMajorVersion >= 4) {
title = "Color Notes in Black" ;
// thumbnailName = ".png";
if (mscoreMajorVersion >= 4 && mscoreMinorVersion <= 3) {
title = "Color Notes in Black";
thumbnailName = "color_notes.png";
categoryCode = "color-notes";
}
}
Expand Down
Binary file added color_notes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d0900ab

Please sign in to comment.