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

Adding variable references should re-generate code #137

Closed
vchelaru opened this issue Jan 5, 2024 · 1 comment
Closed

Adding variable references should re-generate code #137

vchelaru opened this issue Jan 5, 2024 · 1 comment
Labels

Comments

@vchelaru
Copy link
Owner

vchelaru commented Jan 5, 2024

  1. Create a project that auto-generates code on property change
  2. Add a colored rectangle to a screen, verify that the code for the colored rectangle is generated
  3. Verify that you are using "Generate Automatically on Property Change"
  4. Create a variable reference to another component - this should update the color values on the colored rectangle

Observe - the .cs file hasn't regenerated
Expected - changing variable references should re-generate the code

Additional info - I suspect this is because there's an event that is raised for plugins whenever a Variable changes but not when a VariableList changes. Either that, or the color values haven't yet propagated. Investigate, and fix. Explicitly re-generating results in the variables properly being saved.

@vchelaru vchelaru added the bug label Jan 5, 2024
@vchelaru
Copy link
Owner Author

Fixed by 382000f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant