File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export function prettyNumber(value: number): string {
22
22
}
23
23
24
24
export class EditorConfig {
25
- public static readonly version : string = "4.1.1 " ;
25
+ public static readonly version : string = "4.2 " ;
26
26
27
27
public static readonly versionDisplayName : string = "BeepBox" ;
28
28
public static readonly releaseNotesURL : string = "https://github.com/johnnesky/beepbox/releases/tag/v" + EditorConfig . version ;
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ export class Selection {
101
101
this . _changeTrack . append ( new ChangeChannelBar ( this . _doc , channelIndex , bar ) ) ;
102
102
// @jummbus - changing current viewed instrument to the first for the current pattern if the viewedInstrument is not in the pattern
103
103
const pattern : Pattern | null = this . _doc . getCurrentPattern ( 0 ) ;
104
- if ( pattern != null ) {
104
+ if ( pattern != null && this . _doc . song . patternInstruments ) {
105
105
if ( pattern . instruments . indexOf ( this . _doc . viewedInstrument [ this . _doc . channel ] ) == - 1 ) {
106
106
this . _doc . viewedInstrument [ this . _doc . channel ] = pattern . instruments [ 0 ] ;
107
107
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " BeepBox" ,
3
- "version" : " 4.1.1 " ,
3
+ "version" : " 4.2 " ,
4
4
"description" : " BeepBox is an online tool for sketching and sharing instrumental music." ,
5
5
"author" : " John Nesky" ,
6
6
"license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments