refactor: Only show unknown commands in debug
There are a bunch of optional commands provided by druid that trigger this, but we only really need it to check for custom ones that weren't implemented, yet.
This commit is contained in:
parent
6c9d5dabd4
commit
c73b8d2cc9
1 changed files with 3 additions and 1 deletions
|
@ -390,7 +390,9 @@ impl AppDelegate<State> for Delegate {
|
|||
Handled::Yes
|
||||
}
|
||||
cmd => {
|
||||
if cfg!(debug_assertions) {
|
||||
tracing::warn!("Unknown command: {:?}", cmd);
|
||||
}
|
||||
Handled::No
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue