The Artboard tool handled Delete/Backspace in Tool::key, but never claimed the keys through Tool::claims_key. The UI only routes Delete/Backspace to a tool that claims them, so the keypress went to the Clear shortcut instead and the artboard stayed. The existing tests called the tool directly and missed it. The tool now claims Delete/Backspace while no drag is in progress and more than one artboard exists. With only one artboard left, the keys stay with the shortcut. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||