fix(item): item destroy not sending correctly

This commit is contained in:
Nova
2024-06-15 13:58:36 -04:00
parent e2c9e06cd3
commit 53979ce167
5 changed files with 38 additions and 15 deletions

View File

@@ -124,7 +124,7 @@ impl InputMethod {
let Some(tx_node) = self.spatial.node() else {
return;
};
let Some(handler_alias) = self.handler_aliases.get(handler) else {
let Some(handler_alias) = self.handler_aliases.get_from_aspect(handler) else {
return;
};
let _ = input_method_client::destroy_handler(&tx_node, handler_alias.id);