|
@@ -601,11 +601,9 @@ export class VexFlowConverter {
|
|
|
if (stemDirection && typeof stemDirection?.direction === 'number') {
|
|
|
wantedStemDirection = stemDirection.direction
|
|
|
}
|
|
|
- const DYMusicSheetId = (window as any).DYMusicSheetId
|
|
|
- // 长笛教程2-5-2,符杆全部朝下
|
|
|
- if (DYMusicSheetId === 904) {
|
|
|
- wantedStemDirection = 1
|
|
|
- }
|
|
|
+ // 自定义符杆朝向
|
|
|
+ const DYMusicalOrientation = (window as any).DYMusicalOrientation
|
|
|
+ wantedStemDirection = DYMusicalOrientation !== undefined ? DYMusicalOrientation : wantedStemDirection
|
|
|
switch (wantedStemDirection) {
|
|
|
case(StemDirectionType.Up):
|
|
|
vfnote.setStemDirection(VF.Stem.UP);
|