fix: reduce borrowing hint font size from 0.5x to 0.25x
The 'n − 1' text above borrow boxes was too large and getting clipped, making the '1' invisible. Halving the font size should make it fit better.
This commit is contained in:
@@ -446,7 +446,7 @@ export function generateSubtractionProblemStackFunction(
|
||||
spacing: 1pt,
|
||||
// Show the calculation hint
|
||||
align(center)[
|
||||
#text(size: ${(cellSizePt * 0.5).toFixed(1)}pt, fill: gray.darken(30%))[#str(original-digit) − 1]
|
||||
#text(size: ${(cellSizePt * 0.25).toFixed(1)}pt, fill: gray.darken(30%))[#str(original-digit) − 1]
|
||||
],
|
||||
// Show the borrow box
|
||||
if show-colors {
|
||||
|
||||
Reference in New Issue
Block a user