Closed linden-dg closed 5 months ago
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.
label
handle.emit_to
event
Thanks!
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 thehandle.emit_to
, and theevent
should be the second, but these were incorrectly reversed.