feat(tools): add brush raster painting

This commit is contained in:
syntaxbullet
2026-07-03 17:37:43 +02:00
parent 665f4a5340
commit 9fc0c18114
11 changed files with 188 additions and 9 deletions

View File

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