AbsoluteSize and AbsolutePosition are decimals

When positioning or sizing a gui element with scale, the AbsolutePosition and AbsoluteSize can be decimals.

image

I noticed this today and I’m using Windows 10.

4 Likes

I’ve noticed this too, and I am very disappointed to say this has also made the bug I reported in January this year occur again:

I mean… As a developer the decimals throw off most things but have some positives when working with multiple other users.

I could be wrong since I don’t work with C, but doesn’t I have to do something with yada yada floating poing accuracy? Or are they all doubles?

we turned on a change that caused this to happen. We have since turned it off, but we plan on shipping some stuff in the future that could cause this to happen again on purpose. You wouldn’t see this though unless you were on a mobile device with a high dpi screen (which is basically all phones these days).

Does doing something like this mess up any logic in your ui/game? The decimals in this scenario would be more technically correct as to where the pixels are.

It amazes me to see a bug reported over 5 years ago being ignored until today.
AbsolutePosition is in PIXELS, as per documentation.
And there are no pixels with decimal places.

2 Likes