Fix piano field editor (when it's on its own) (#675)

This commit is contained in:
Sam El-Husseini 2018-06-07 16:42:49 -07:00 committed by GitHub
parent 8508d5e8ba
commit 1d442b7de9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,8 @@ namespace music {
*/
//% weight=1 help=music/note-frequency
//% blockId=device_note block="%note"
//% shim=TD_ID color="#FFFFFF" colorSecondary="#FFFFFF"
//% shim=TD_ID
//% color="#FFFFFF" colorSecondary="#FFFFFF" colorTertiary="#D67923"
//% note.fieldEditor="note" note.defl="1046"
//% note.fieldOptions.editorColour="#FF1493" note.fieldOptions.decompileLiterals=true
//% note.fieldOptions.minNote=52 note.fieldOptions.maxNote=75
@ -15,4 +16,4 @@ namespace music {
//TODO fill in actual min/max note values
return name;
}
}
}