Files
image-studio/view/toolLabels.ts

17 lines
332 B
TypeScript

import type { ToolId } from "@editor/tools";
export function labelForTool(tool: ToolId): string {
switch (tool) {
case "brush":
return "Brush";
case "chromaKey":
return "Chroma key";
case "eraser":
return "Eraser";
case "pan":
return "Pan";
case "select":
return "Select";
}
}