Skip to content

Commit

Permalink
Merge pull request #3 from DeviLily/master
Browse files Browse the repository at this point in the history
fix:link值错位
  • Loading branch information
kooriookami authored Nov 20, 2023
2 parents cdc467d + 02fb21e commit 3d3c5db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/yugioh-card/src/yugioh-card/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ export class YugiohCard extends Card {
});

const linkText = this.data.language === 'astral' ? numberToFull(this.data.arrowList.length) : this.data.arrowList.length;
const linkLeft = this.data.language === 'astral' ? 1279 : 1220;
const linkLeft = this.data.language === 'astral' ? 1279 : 1280;
link.set({
text: linkText,
fontFamily: this.data.language === 'astral' ? 'ygo-astral, serif' : 'ygo-link, serif',
Expand Down

0 comments on commit 3d3c5db

Please sign in to comment.