Skip to content

[sources panel] Italic angle fix: write correct number type - #2037

Merged
justvanrossum merged 2 commits into
mainfrom
italic-angle-fix
Feb 17, 2025
Merged

[sources panel] Italic angle fix: write correct number type#2037
justvanrossum merged 2 commits into
mainfrom
italic-angle-fix

Conversation

@justvanrossum

@justvanrossum justvanrossum commented Feb 17, 2025

Copy link
Copy Markdown
Member
  • When serializing numbers, ensure they actually are numbers (float or int)
  • Use NumberFormatter for italicAngle, so we write the value as a number

This fixes #2036.

@justvanrossum
justvanrossum merged commit 3b200e3 into main Feb 17, 2025
@justvanrossum
justvanrossum deleted the italic-angle-fix branch February 17, 2025 14:09
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.

Editing the italicAngle field writes a string, not a number

1 participant