Change default select tool to rect
This commit is contained in:
parent
60760e3d8e
commit
1043eac3ab
@ -34,18 +34,18 @@ function SelectToolSettings({
|
||||
useKeyboard(handleKeyDown);
|
||||
|
||||
const tools = [
|
||||
{
|
||||
id: "path",
|
||||
title: "Lasso Selection (L)",
|
||||
isSelected: settings.type === "path",
|
||||
icon: <PathIcon />,
|
||||
},
|
||||
{
|
||||
id: "rectangle",
|
||||
title: "Rectangle Selection (R)",
|
||||
isSelected: settings.type === "rectangle",
|
||||
icon: <RectIcon />,
|
||||
},
|
||||
{
|
||||
id: "path",
|
||||
title: "Lasso Selection (L)",
|
||||
isSelected: settings.type === "path",
|
||||
icon: <PathIcon />,
|
||||
},
|
||||
];
|
||||
|
||||
return (
|
||||
|
@ -20,7 +20,7 @@ import PointerToolIcon from "../../icons/PointerToolIcon";
|
||||
import FullScreenIcon from "../../icons/FullScreenIcon";
|
||||
import FullScreenExitIcon from "../../icons/FullScreenExitIcon";
|
||||
import NoteToolIcon from "../../icons/NoteToolIcon";
|
||||
import SelectToolIcon from "../../icons/SelecToolIcon";
|
||||
import SelectToolIcon from "../../icons/SelectToolIcon";
|
||||
|
||||
import UndoButton from "../controls/shared/UndoButton";
|
||||
import RedoButton from "../controls/shared/RedoButton";
|
||||
|
@ -67,7 +67,7 @@ function loadVersions(settings: Settings) {
|
||||
// v1.10.0 - Add select tool
|
||||
settings.version(8, (prev: any) => ({
|
||||
...prev,
|
||||
select: { type: "path" },
|
||||
select: { type: "rectangle" },
|
||||
}));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user