Skip to content

Commit

Permalink
Add booklet to allowed sigFormat set
Browse files Browse the repository at this point in the history
  • Loading branch information
cass-kazumori committed Jan 2, 2024
1 parent 7a83fea commit 6235716
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/book.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { saveAs } from 'file-saver';
import { Signatures } from './signatures.js';
import { PerfectBound } from './perfectbound.js';
import { WackyImposition } from './wacky_imposition.js';
import { PAGE_LAYOUTS, PAGE_SIZES, TARGET_BOOK_SIZE, LINE_LEN } from './constants.js';
import { PAGE_LAYOUTS, PAGE_SIZES, LINE_LEN } from './constants.js';
import { updatePageLayoutInfo} from './utils/renderUtils.js';
import JSZip from 'jszip';
import { loadConfiguration } from './utils/formUtils.js';
Expand Down
2 changes: 1 addition & 1 deletion src/models/configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const pageScaling = urlSafe(z.enum(["centered", "lockratio", "stretch"])).defaul

const pagePositioning = urlSafe(z.enum(["centered", "binding_aligned"])).default("centered");

const sigFormat = urlSafe(z.enum(["perfect", "standardsig", "customsig", "1_3rd", "A7_2_16s", "8_zine", "a_3_6s", "a9_3_3_4", "a_4_8s", "a10_6_10s"])).default("standardsig");
const sigFormat = urlSafe(z.enum(["booklet", "perfect", "standardsig", "customsig", "1_3rd", "A7_2_16s", "8_zine", "a_3_6s", "a9_3_3_4", "a_4_8s", "a10_6_10s"])).default("standardsig");

const wackySpacing = urlSafe(z.enum(["wacky_pack", "wacky_gap"])).default("wacky_pack");

Expand Down

0 comments on commit 6235716

Please sign in to comment.