@@ -45,23 +45,23 @@ const TuningReturner = {
45
45
{ name : 'G' , note : 'G' , frequencyMarker : 'G' } ,
46
46
{ name : 'D' , note : 'D' , frequencyMarker : 'D' } ,
47
47
{ name : 'A' , note : 'A' , frequencyMarker : 'A' } ,
48
- { name : 'E' , note : 'E' , frequencyMarker : 'E' } ,
48
+ { name : 'E' , note : 'E' , frequencyMarker : 'E' }
49
49
] ,
50
50
'dropd' : [
51
51
{ name : 'e' , note : 'E' , frequencyMarker : 'e' } ,
52
52
{ name : 'B' , note : 'B' , frequencyMarker : 'B' } ,
53
53
{ name : 'G' , note : 'G' , frequencyMarker : 'G' } ,
54
54
{ name : 'D' , note : 'D' , frequencyMarker : 'D' } ,
55
55
{ name : 'A' , note : 'A' , frequencyMarker : 'A' } ,
56
- { name : 'D' , note : 'D' , frequencyMarker : 'D_' } ,
56
+ { name : 'D' , note : 'D' , frequencyMarker : 'D_' }
57
57
] ,
58
58
'dadgad' : [
59
59
{ name : 'd' , note : 'D' , frequencyMarker : 'd' } ,
60
60
{ name : 'A' , note : 'A' , frequencyMarker : 'A' } ,
61
61
{ name : 'G' , note : 'G' , frequencyMarker : 'G' } ,
62
62
{ name : 'D' , note : 'D' , frequencyMarker : 'D' } ,
63
63
{ name : 'A' , note : 'A' , frequencyMarker : 'A' } ,
64
- { name : 'D' , note : 'D' , frequencyMarker : 'D_' } ,
64
+ { name : 'D' , note : 'D' , frequencyMarker : 'D_' }
65
65
]
66
66
} ;
67
67
@@ -90,6 +90,7 @@ export class FretboardComponent implements OnChanges, OnInit {
90
90
@Input ( ) stringNamesAreCaseSensitive = false ;
91
91
@Input ( ) loadExpanded = false ;
92
92
@Input ( ) configuration ;
93
+ @Input ( ) standardTuningOnly ;
93
94
orientation ;
94
95
fretMode ;
95
96
frets ;
@@ -106,7 +107,10 @@ export class FretboardComponent implements OnChanges, OnInit {
106
107
this . loadPropFromStorage ( StorageKeys . fretMode , 'fretMode' , FretModes . twelve ) ;
107
108
this . loadPropFromStorage ( StorageKeys . orientation , 'orientation' , Orientations . right ) ;
108
109
this . loadPropFromStorage ( StorageKeys . noteNameDisplay , 'noteNameDisplay' , NoteDisplays . noteNames ) ;
109
- this . loadPropFromStorage ( StorageKeys . tuning , 'tuning' , Tunings . standard ) ;
110
+
111
+ if ( this . configuration !== 'learn' ) {
112
+ this . loadPropFromStorage ( StorageKeys . tuning , 'tuning' , Tunings . standard ) ;
113
+ }
110
114
111
115
this . toggleHighlight ( ScaleDegrees . tonic ) ;
112
116
this . configureStrings ( ) ;
0 commit comments