fix: position inactive heaven beads above reckoning bar, not below
My previous attempt to match earth bead gaps exactly resulted in inactive heaven beads appearing below the reckoning bar at 27pt while the bar is at 20pt. Fixed by: - Positioning inactive heaven beads at bead-size/2 + 3pt = 9pt from top - This places them clearly above the reckoning bar (at 20pt) - Removed unused inactive-bead-gap variable - Active heaven beads remain just above the bar as intended 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
let column-spacing = 25pt * base-size
|
||||
let heaven-earth-gap = 20pt * base-size
|
||||
let bar-thickness = 2pt * base-size
|
||||
let inactive-bead-gap = (bead-size + bead-spacing) + 5pt // Same gap for both heaven and earth inactive beads
|
||||
|
||||
// Color schemes
|
||||
let place-value-colors = (
|
||||
@@ -143,7 +142,7 @@
|
||||
#let heaven-y = if heaven-active == 1 {
|
||||
heaven-earth-gap - bead-size / 2 - 1pt // Active (center just above bar)
|
||||
} else {
|
||||
bead-size / 2 + inactive-bead-gap // Inactive (same gap from edge as earth beads)
|
||||
bead-size / 2 + 3pt // Inactive (positioned near top with reasonable gap)
|
||||
}
|
||||
|
||||
#let bead-color = if heaven-active == 1 {
|
||||
|
||||
Reference in New Issue
Block a user