Skip to content

fix(inspector): text tracking input rounding and missing controls - #35

Open
phanex wants to merge 1 commit into
tomLadder:mainfrom
phanex:fix/track-input-controls
Open

fix(inspector): text tracking input rounding and missing controls#35
phanex wants to merge 1 commit into
tomLadder:mainfrom
phanex:fix/track-input-controls

Conversation

@phanex

@phanex phanex commented Aug 29, 2026

Copy link
Copy Markdown

Summary

NumInput in packages/web/src/editor/inspector/fields.tsx used value={Math.round(value)}, which forced all numerical values to rounded integers. This destroyed decimal inputs (such as letterSpacing: 0.5 or -0.5), caused keyboard arrow keys and mouse wheel controls to get stuck on decimal values, and prevented fine text tracking adjustments.

Fix

  • Replace Math.round(value) with precision formatting in NumInput so decimal values, keyboard arrow keys, and mouse wheel controls work smoothly.
  • Set step={0.1} for letterSpacing (Track) field in TextSection.

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