-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
Types: Allow font to be partial scriptable and individually scriptable #10364
Conversation
Not really happy about the approach especially the CanvasFontSpec but didn't know an other/better way to achieve the desired behaviour |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the FontSpec should not include scriptability. Could create a ScriptableFontSpec or something if that is needed. The individual props of the font have not always been scriptable, but are they now?
From the bit of testing I did it seemed like it. But will test it bit more when I get back from vacation in a few days. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename for consitency with ScriptableAndArray
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Resolves #10363