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

ProgrammeStore getting rebuilt for simple MouseEnter/Exit events #85

Closed
firthm01 opened this issue Jun 23, 2021 · 1 comment · Fixed by #113
Closed

ProgrammeStore getting rebuilt for simple MouseEnter/Exit events #85

firthm01 opened this issue Jun 23, 2021 · 1 comment · Fixed by #113

Comments

@firthm01
Copy link
Contributor

This is due to this->notifyDataChange(); in various onStateChange callbacks assigned in the constructor of ObjectView (object_view.hpp for the scene plugin)

The onStateChange callback seems to be fired for any component event, not necessarily changing its value.

Not the end of the world, but fairly inefficient

@firthm01
Copy link
Contributor Author

I think onClick could possibly be used in place of onStateChange. onClick seems to be fired whether the control is clicked or interacted with using the keyboard.

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

Successfully merging a pull request may close this issue.

1 participant