Skip to content

Commit 3c9fcb6

Browse files
author
Salma Alam-Naylor
committed
Remove legacy scale usage from theoretical modes info
1 parent fdb559c commit 3c9fcb6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/fretonator-web/src/app/common/fretonator/scale-map/scale-map.component.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,13 @@ <h2 class="infoBlock__title">About Theoretical Scales
6161
one double flat (𝄫) or double sharp (x).</p>
6262
<p class="infoBlock__copy">{{modeDisplayString}} is a theoretical scale and looks unnecessarily complicated. We can
6363
make things simpler!</p>
64-
<p class="infoBlock__copy">Switch to the enharmonic equivalent note of {{scale[0] | getEnharmonicEquivalent }} to make
64+
<p class="infoBlock__copy">Switch to the enharmonic equivalent note of {{modeMap[0].displayName | getEnharmonicEquivalent }} to make
6565
the notes easier to read. (It'll sound exactly the same!)</p>
6666
<a class="actionButton"
6767
(click)="toggleTheoreticalScaleInfo()"
6868
[routerLink]="note | getEnharmonicRouterLink: noteExtenderString: mode"
69-
>Switch to {{scale[0] | getEnharmonicEquivalent }}</a>
69+
>Switch to {{modeMap[0].displayName | getEnharmonicEquivalent }}</a>
70+
7071
</div>
7172

7273
<div class="infoBlock infoBlock--scaleDegrees"

apps/fretonator-web/src/app/common/fretonator/scale-map/scale-map.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export class ScaleMapComponent {
2222
@Input() note: string;
2323
@Input() noteExtenderString: string;
2424
@Input() modeMap: ModeMap;
25-
@Input() scale: Scale;
2625
@Input() isTheoretical: boolean;
2726
@Input() modeDisplayString: string;
2827

0 commit comments

Comments
 (0)