to_if_canceled/to_if_invoked 忽略与"to"中相同的修饰符

作者: eugenesvk创建于 2022年11月4日更新于 2026年9月15日

看起来,`to_if_canceled`/`to_if_invoked` 会忽略 `key_code` 中的 `modifiers` 元素,如果它与 `from` 字段中的修饰符相同

内容来源: pqrs-org/Karabiner-Elements