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

fix: misalignment of Event emit_to args #68

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

linden-dg
Copy link
Contributor

The window and event labels were mixed up when passed to the tauri app handle, causing the event to be emitted to the event label, rather than the window.

As per https://docs.rs/tauri/latest/tauri/trait.Manager.html#method.emit_to the window label should be the first argument in the handle.emit_to, and the event should be the second, but these were incorrectly reversed.

The window and event labels were mixed up when passed to the tauri app handle, causing the event to be emitted to the event label, rather than the window
@oscartbeaumont oscartbeaumont merged commit 452e59d into specta-rs:main Jan 22, 2024
4 checks passed
@oscartbeaumont
Copy link
Member

Thanks!

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.

2 participants