mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Fixes in Shortcuts dialog and minor refactor (#1297)
This commit is contained in:
parent
e4c154f43e
commit
0c3d34261e
11 changed files with 96 additions and 82 deletions
|
@ -1,7 +1,6 @@
|
|||
import "./ToolIcon.scss";
|
||||
|
||||
import React from "react";
|
||||
import { getShortcutKey } from "../utils";
|
||||
|
||||
type LockIconSize = "s" | "m";
|
||||
|
||||
|
@ -46,7 +45,7 @@ export function LockIcon(props: LockIconProps) {
|
|||
return (
|
||||
<label
|
||||
className={`ToolIcon ToolIcon__lock ToolIcon_type_floating ${sizeCn}`}
|
||||
title={`${props.title} ${getShortcutKey("Q")}`}
|
||||
title={`${props.title} — Q`}
|
||||
>
|
||||
<input
|
||||
className="ToolIcon_type_checkbox"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue