tiny-engine icon indicating copy to clipboard operation
tiny-engine copied to clipboard

fix: reset spacing cannot generate correct source code

Open chilingling opened this issue 7 months ago • 1 comments

English | 简体中文

PR

PR Checklist

Please check if your PR fulfills the following requirements:

  • [x] The commit message follows our Commit Message Guidelines
  • [ ] Tests for the changes have been added (for bug fixes / features)
  • [ ] Docs have been added / updated (for bug fixes / features)
  • [ ] Built its own designer, fully self-validated

PR Type

What kind of change does this PR introduce?

  • [x] Bugfix
  • [ ] Feature
  • [ ] Code style update (formatting, local variables)
  • [ ] Refactoring (no functional changes, no api changes)
  • [ ] Build related changes
  • [ ] CI related changes
  • [ ] Documentation content changes
  • [ ] Other... Please describe:

Background and solution

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • [ ] Yes
  • [x] No

Other information

Summary by CodeRabbit

  • Bug Fixes
    • Enhanced text property handling to display parsed integer values correctly.
    • Fixed function invocation order to ensure updateStyle is called correctly.
    • Updated string concatenation logic to handle empty values properly.

chilingling avatar Jul 16 '24 02:07 chilingling