-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Button BORDER_WIDTH is not being saved into rgs file #8
Comments
I think the issue is related to |
|
…uistyler#8 Make sure default style has been loaded to avoid overwriting new style properties due to the lazy initialization of default style.
@ssoher I updated |
Thank you @raysan5
I feel it has something to do with rGuiStyle serialization code but it's just a guess, didn't look at the code myself. |
Here is the rgs file I'm observing this problem with if it helps you debug |
rGuiStyler may not be saving the button border width to the rgs file. After loading the style and making sure that
guiStyleLoaded
is true,GuiGetStyle(BUTTON, BORDER_WIDTH)
always returns 2 even though it was set to 1 and saved.The text was updated successfully, but these errors were encountered: