feat: add chroma key tool and settings, including UI components and controls
This commit is contained in:
@@ -5,6 +5,7 @@ import type { KeybindEvent } from "./keyboard";
|
||||
const toolKeybinds = {
|
||||
b: "brush",
|
||||
e: "eraser",
|
||||
k: "chromaKey",
|
||||
p: "pan",
|
||||
s: "select",
|
||||
} as const;
|
||||
|
||||
@@ -16,7 +16,7 @@ import type { PointerInputEvent } from "./pointer";
|
||||
|
||||
type TransformHandle = "body" | "nw" | "n" | "ne" | "e" | "se" | "s" | "sw" | "w";
|
||||
|
||||
type InputToolId = "select" | "brush" | "eraser" | "pan";
|
||||
type InputToolId = "select" | "brush" | "eraser" | "chromaKey" | "pan";
|
||||
|
||||
type InputInteractionMode =
|
||||
| { type: "tool"; tool: InputToolId }
|
||||
|
||||
Reference in New Issue
Block a user