Allow thin-book spine to shrink
This commit is contained in:
@@ -407,7 +407,7 @@ function coverProfilePointsFromFrame(spineHalf, coverOuterX) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function calculateSpineWidth(bundleCount) {
|
function calculateSpineWidth(bundleCount) {
|
||||||
const minimumWidth = 0.16;
|
const minimumWidth = 0.006;
|
||||||
if (bundleCount <= 1) return minimumWidth;
|
if (bundleCount <= 1) return minimumWidth;
|
||||||
const targetArcLength = (bundleCount - 1) * BOOK_PROFILE.bundleSpacing + OPEN_SEAM_GAP;
|
const targetArcLength = (bundleCount - 1) * BOOK_PROFILE.bundleSpacing + OPEN_SEAM_GAP;
|
||||||
let low = minimumWidth;
|
let low = minimumWidth;
|
||||||
|
|||||||
Reference in New Issue
Block a user