Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update DCI decksheet #54

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions js/decklist/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,6 @@ function generateStandardDecklist(parsedInput) {
dl.rect(135, 78, 441, 24); // location + deck name
dl.rect(355, 54, 221, 72); // event + deck name + deck designer
dl.rect(552, 30, 24, 24); // first letter
dl.rect(445, 30, 55, 24); // table number

dl.rect(27, 140, 24, 628); // last name + first name + dci
dl.rect(27, 140, 24, 270); // dci
Expand Down Expand Up @@ -781,8 +780,6 @@ function generateStandardDecklist(parsedInput) {

dl.setFontSize(7);
dl.setFontStyle('normal');
dl.text('Table', 421, 40);
dl.text('Number', 417, 48);
dl.text('First Letter of', 508, 40);
dl.text('Last Name', 516, 48);

Expand Down Expand Up @@ -884,11 +881,12 @@ function generateStandardDecklist(parsedInput) {
dl.setFontSize(13);
dl.text('Main Deck:', 62, 149);
dl.setFontSize(11);
dl.text('(Magic: 60 Minimum)', 140, 149);
dl.text('# in deck:', 62, 166); // first row, main deck
dl.text('Card Name:', 122, 166);
} else {
dl.setFontSize(13);
dl.text('Main Deck Continued:', 336, 149);
dl.text('Main Deck Continued & Basic Lands:', 336, 149);
dl.setFontSize(11);
dl.text('# in deck:', 336, 166); // second row, main deck
dl.text('Card Name:', 396, 166);
Expand Down Expand Up @@ -918,6 +916,7 @@ function generateStandardDecklist(parsedInput) {
dl.setFontStyle('bold');
dl.text('Sideboard:', 336, 404);
dl.setFontSize(11);
dl.text('(Magic: up to 15)', 404, 404);
dl.text('# in deck:', 336, 420); // second row, sideboard
dl.text('Card Name:', 396, 420);

Expand Down