feat: tweak toolbar shortcuts & remove library shortcut (#5832)

This commit is contained in:
David Luzar
2022-11-06 20:14:53 +01:00
committed by GitHub
parent b91158198e
commit 58accc9310
8 changed files with 291 additions and 263 deletions

View File

@ -138,7 +138,7 @@ describe("regression tests", () => {
[`4${KEYS.O}`, "ellipse", true],
[`5${KEYS.A}`, "arrow", true],
[`6${KEYS.L}`, "line", true],
[`7${KEYS.X}`, "freedraw", false],
[`7${KEYS.P}`, "freedraw", false],
] as [string, ExcalidrawElement["type"], boolean][]) {
for (const key of keys) {
it(`key ${key} selects ${shape} tool`, () => {