Fix piano field editor (when it's on its own) (#675)
This commit is contained in:
parent
8508d5e8ba
commit
1d442b7de9
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user