-
Notifications
You must be signed in to change notification settings - Fork 135
Description
Steps to reproduce the issue :
- Create any type of Component
- Inside this new component, Set the Pivot parameter to Center, the X and Y values change to 0,5
- Save the component
- Drop the component in the main scene (or any another component).
- The Pivot parameter values are now X : 0 and Y : 5
Expected behavior, X and Y value to 0,5
There must be a Dot vs Comma error somewhere. I tried to change my Windows Culture settings in order to use Dot or Comma, English or French, even an obscure Beta UTF-8 settings under Administrative System Local but nothing change the behavior of the editor.
This is an annoying bug since it makes anything related to position pivot buggy (animation, relation, control, etc.).
Every time you change a component or drop a new one with decimal value, the pivot reset later to wrong values.
X : 0,5 Y : 2 become X : 0 Y : 5
X : 2,5 Y : 1,5 become X : 2 Y : 5
X : 1 Y : 2,5 become X : 1 Y : 2
FairyGUI Editor v2022.1.0p1
This may be related to another decimal bug #29 (comment)