Repository navigation
[Synfig Studio] Fixed an issue where sometimes Widget_Vector didn't use locale for decimal separator - #2102
Merged
Conversation
Contributor
Author
|
I suggest to backport it. |
Collaborator
|
@rodolforg Could you add to the description how and where it is used? |
Example: In Canvas Properties dialog, we have the Image Area delimited by two points: the top left corner and the bottom right corner. Both points use Widget_Vector to edit it. There, you could only type real numbers by using 'dot' (.) to separate integer from the fractional part (e.g. 4.5). However, this character depends on locale. Brazil and Germany, for example, use 'comma' (,). Another case: on the same dialog, the Focus Point field. This commit also fixes synfig::remove_trailing_zeroes() - I accidentally let two chars to be summed instead of appending them to string
rodolforg
force-pushed
the
fix-remove-trailing-zeroes
branch
from
April 7, 2021 07:55
60fe97d to
3ed8676
Compare
Contributor
Author
|
Is it better now? |
Collaborator
Yes, thank you! |
ice0
approved these changes
Apr 9, 2021
Collaborator
|
Merged. Thank you! |
Merged
rodolforg
added a commit
to rodolforg/synfig
that referenced
this pull request
Apr 17, 2021
rodolforg
added a commit
to rodolforg/synfig
that referenced
this pull request
Apr 21, 2021
rodolforg
added a commit
to rodolforg/synfig
that referenced
this pull request
Apr 26, 2021
rodolforg
added a commit
to rodolforg/synfig
that referenced
this pull request
May 15, 2021
rodolforg
added a commit
to rodolforg/synfig
that referenced
this pull request
May 25, 2021
rodolforg
added a commit
to rodolforg/synfig
that referenced
this pull request
May 26, 2021
rodolforg
added a commit
to rodolforg/synfig
that referenced
this pull request
May 27, 2021
…ig#2102) Example: In Canvas Properties dialog, we have the Image Area delimited by two points: the top left corner and the bottom right corner. Both points use Widget_Vector to edit it. There, you could only type real numbers by using 'dot' (.) to separate integer from the fractional part (e.g. 4.5). However, this character depends on locale. Brazil and Germany, for example, use 'comma' (,). Another case: on the same dialog, the Focus Point field. This commit also fixes synfig::remove_trailing_zeroes() - I accidentally let two chars to be summed instead of appending them to string
morevnaproject
pushed a commit
that referenced
this pull request
Jul 12, 2021
Example: In Canvas Properties dialog, we have the Image Area delimited by two points: the top left corner and the bottom right corner. Both points use Widget_Vector to edit it. There, you could only type real numbers by using 'dot' (.) to separate integer from the fractional part (e.g. 4.5). However, this character depends on locale. Brazil and Germany, for example, use 'comma' (,). Another case: on the same dialog, the Focus Point field. This commit also fixes synfig::remove_trailing_zeroes() - I accidentally let two chars to be summed instead of appending them to string
morevnaproject
pushed a commit
to morevnaproject/synfig
that referenced
this pull request
Aug 9, 2021
…ig#2102) Example: In Canvas Properties dialog, we have the Image Area delimited by two points: the top left corner and the bottom right corner. Both points use Widget_Vector to edit it. There, you could only type real numbers by using 'dot' (.) to separate integer from the fractional part (e.g. 4.5). However, this character depends on locale. Brazil and Germany, for example, use 'comma' (,). Another case: on the same dialog, the Focus Point field. This commit also fixes synfig::remove_trailing_zeroes() - I accidentally let two chars to be summed instead of appending them to string
morevnaproject
pushed a commit
to morevnaproject/synfig
that referenced
this pull request
Aug 9, 2021
…ig#2102) Example: In Canvas Properties dialog, we have the Image Area delimited by two points: the top left corner and the bottom right corner. Both points use Widget_Vector to edit it. There, you could only type real numbers by using 'dot' (.) to separate integer from the fractional part (e.g. 4.5). However, this character depends on locale. Brazil and Germany, for example, use 'comma' (,). Another case: on the same dialog, the Focus Point field. This commit also fixes synfig::remove_trailing_zeroes() - I accidentally let two chars to be summed instead of appending them to string
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Example:
In Canvas Properties dialog, we have the Image Area delimited by two points:
the top left corner and the bottom right corner.
Both points use Widget_Vector to edit it.
There, you could only type real numbers by using 'dot' (.) to separate
integer from the fractional part (e.g. 4.5). However, this character
depends on locale. Brazil and Germany, for example, use 'comma' (,).
Another case: on the same dialog, the Focus Point field.
This commit also fixes synfig::remove_trailing_zeroes() - I accidentally
let two chars to be summed instead of appending them to string