Skip to content

Fix locale-safe UI scale input - #2099

Draft
Loggableim wants to merge 1 commit into
armory3d:mainfrom
Loggableim:fix/2082-ui-scale-locale
Draft

Fix locale-safe UI scale input#2099
Loggableim wants to merge 1 commit into
armory3d:mainfrom
Loggableim:fix/2082-ui-scale-locale

Conversation

@Loggableim

Copy link
Copy Markdown

Summary

  • accept a decimal comma for numeric slider input without changing expressions
  • validate UI scale at config load, application, import, and save boundaries
  • add focused regression checks

Root cause

The editable UI Scale slider evaluated 1,5 as an expression rather than a decimal number, which could persist an invalid scale and prevent a later startup.

Validation

  • python paint/tests/test_issue_2082.py
  • Local native project generation is currently blocked by the bundled amake stack-overflow error; GitHub platform builds will provide compile validation.

Fixes #2082

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.

UI scale accepts negative values causing app to not start - locale issue with comma vs decimal point

1 participant