|
@@ -571,7 +571,7 @@ export class MusicSheetReader /*implements IMusicSheetReader*/ {
|
|
|
const creditJustify: string = creditChild.attribute("justify")?.value;
|
|
|
const creditY: string = creditChild.attribute("default-y")?.value;
|
|
|
const creditYGiven: boolean = creditY !== undefined && creditY !== null;
|
|
|
- const creditYInfo: number = creditYGiven ? parseFloat(creditY) : -1;
|
|
|
+ const creditYInfo: number = creditYGiven ? parseFloat(creditY) : Number.MIN_VALUE;
|
|
|
if (creditYGiven && creditYInfo > systemYCoordinates) {
|
|
|
if (!this.musicSheet.Title) {
|
|
|
const creditSize: string = creditChild.attribute("font-size").value;
|