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