feat: add chroma key tool and settings, including UI components and controls

This commit is contained in:
syntaxbullet
2026-07-04 11:13:47 +02:00
parent e5c7f09cea
commit 6b6c2ebb80
16 changed files with 463 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
import { Cursor, Eraser, Hand, PaintBrush } from "@phosphor-icons/react";
import { Cursor, Eraser, Hand, PaintBrush, DropHalf } from "@phosphor-icons/react";
import { commandIds } from "@commands/ids";
import type { AppStore } from "@editor/store";
import type { InteractionMode, ToolId } from "@editor/tools";
@@ -45,6 +45,8 @@ function iconForTool(tool: ToolId) {
return PaintBrush;
case "eraser":
return Eraser;
case "chromaKey":
return DropHalf;
case "pan":
return Hand;
case "select":