feat(tools): add crop tool
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
import type { ToolId } from "@editor/tools";
|
||||
|
||||
export function labelForTool(tool: ToolId): string {
|
||||
return tool === "pan" ? "Pan" : "Select";
|
||||
switch (tool) {
|
||||
case "crop":
|
||||
return "Crop";
|
||||
case "pan":
|
||||
return "Pan";
|
||||
case "select":
|
||||
return "Select";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user