Skip to content

Fix text reveal indicator offsets#295

Merged
han4wluc merged 2 commits into
mainfrom
fix/text-reveal-indicator-offsets
Jun 9, 2026
Merged

Fix text reveal indicator offsets#295
han4wluc merged 2 commits into
mainfrom
fix/text-reveal-indicator-offsets

Conversation

@han4wluc

@han4wluc han4wluc commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add per-visual offsetX/offsetY support for text reveal indicator revealing and complete visuals.
  • Keep top-level indicator.offsetX/indicator.offsetY as fallback defaults when a visual does not define its own offsets.
  • Bump route-graphics from 1.23.0 to 1.23.1.

Validation

  • bunx vitest run spec/parser/parseTextRevealing.indicatorVisual.spec.js spec/elements/textRevealingRuntime.indicatorVisual.spec.js
  • bunx prettier --check package.json src/plugins/elements/text-revealing/parseTextRevealing.js src/plugins/elements/text-revealing/textRevealingRuntime.js src/schemas/elements/text-revealing.element.yaml src/schemas/elements/text-revealing.computed.yaml src/types.js spec/parser/parseTextRevealing.indicatorVisual.spec.js spec/elements/textRevealingRuntime.indicatorVisual.spec.js
  • bun run build

Notes

  • bun run test currently fails in unrelated YAML parser snapshots: 13 text metric/position expectation mismatches across spec/parser/parseText.test.yaml and spec/parser/parseTextRevealing.test.yaml. The focused indicator parser/runtime tests pass.

@han4wluc han4wluc merged commit 49d9db8 into main Jun 9, 2026
2 checks passed
@han4wluc han4wluc deleted the fix/text-reveal-indicator-offsets branch June 9, 2026 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant