|
@@ -604,6 +604,7 @@ export class VexFlowConverter {
|
|
// 自定义符杆朝向
|
|
// 自定义符杆朝向
|
|
const DYMusicalOrientation = (window as any).DYMusicalOrientation
|
|
const DYMusicalOrientation = (window as any).DYMusicalOrientation
|
|
wantedStemDirection = DYMusicalOrientation !== undefined ? DYMusicalOrientation : wantedStemDirection
|
|
wantedStemDirection = DYMusicalOrientation !== undefined ? DYMusicalOrientation : wantedStemDirection
|
|
|
|
+ console.log(11111,vfnote)
|
|
switch (wantedStemDirection) {
|
|
switch (wantedStemDirection) {
|
|
case(StemDirectionType.Up):
|
|
case(StemDirectionType.Up):
|
|
vfnote.setStemDirection(VF.Stem.UP);
|
|
vfnote.setStemDirection(VF.Stem.UP);
|
|
@@ -715,6 +716,7 @@ export class VexFlowConverter {
|
|
// 所有叠加音符都超过第三线才朝下
|
|
// 所有叠加音符都超过第三线才朝下
|
|
const stemDirectionNote = (window as any).GYM?.stemDirectionNote
|
|
const stemDirectionNote = (window as any).GYM?.stemDirectionNote
|
|
if(!stemDirectionNote && keyLines.length === keys.length){
|
|
if(!stemDirectionNote && keyLines.length === keys.length){
|
|
|
|
+ console.log('👀~111')
|
|
vfnote.setStemDirection(-1)
|
|
vfnote.setStemDirection(-1)
|
|
}
|
|
}
|
|
}
|
|
}
|