Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion #4

Open
boston2029 opened this issue Feb 27, 2022 · 2 comments
Open

Suggestion #4

boston2029 opened this issue Feb 27, 2022 · 2 comments
Assignees
Labels
wontfix This will not be worked on

Comments

@boston2029
Copy link

You should add a Convert:UDim2FromOffsetToUDim2FromScale(). E.g you give the function a UDim2.new(0, 180, 0, 180) and it converts it to a scale, e.g. UDim2.new(1, 0, 1, 0). I would definitely use that function.

@R0bl0x10501050 R0bl0x10501050 self-assigned this Feb 27, 2022
@R0bl0x10501050 R0bl0x10501050 added feature wontfix This will not be worked on and removed feature labels Feb 27, 2022
@R0bl0x10501050
Copy link
Owner

The issue with this is you can't know the scale of the parents as it depends on the object.

@R0bl0x10501050
Copy link
Owner

In addition, Convert is meant to be used at runtime, and this type of UDim2 conversion would be done while writing a script. When you pass a UDIm2 as a parameter to a function. It's turned into a UDim2 instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants