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

update display obj on union change #2224

Merged
merged 5 commits into from
Mar 17, 2023
Merged

update display obj on union change #2224

merged 5 commits into from
Mar 17, 2023

Conversation

MattDHill
Copy link
Member

No description provided.

@MattDHill MattDHill requested review from waterplea and elvece March 16, 2023 22:10
}
})
}
}, 10)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need any time, just default 0 is enough to move it to the next frame.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

if (this.original) {
Object.keys(this.current || {}).forEach(key => {
if ((this.original as Config)[key] === undefined) {
this.hasNewOptions.emit()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need it for every new option?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, if any options are new, we can emit and abort

@MattDHill MattDHill marked this pull request as ready for review March 17, 2023 14:11
@elvece elvece merged commit 4d87ee2 into master Mar 17, 2023
@MattDHill MattDHill deleted the fix/config-issues branch March 20, 2023 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants