From 7a92b5ca93b35446e1c70930ba36a29cf240eca8 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sat, 4 Apr 2026 19:30:13 +0200 Subject: [PATCH] Update brush label and selection description --- src/app/App.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/App.tsx b/src/app/App.tsx index ece8ce9b..23ff4345 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -592,12 +592,12 @@ function formatAssetHoverStatus(asset: ProjectAssetRecord): string { } function getBrushLabel(brush: BoxBrush, index: number): string { - return brush.name ?? `Box Brush ${index + 1}`; + return brush.name ?? `Whitebox Box ${index + 1}`; } function getBrushLabelById(brushId: string, brushes: BoxBrush[]): string { const brushIndex = brushes.findIndex((brush) => brush.id === brushId); - return brushIndex === -1 ? "Box Brush" : getBrushLabel(brushes[brushIndex], brushIndex); + return brushIndex === -1 ? "Whitebox Box" : getBrushLabel(brushes[brushIndex], brushIndex); } function getSelectedBrushLabel(selection: EditorSelection, brushes: BoxBrush[]): string { @@ -621,7 +621,7 @@ function describeSelection( case "none": return "No authored selection"; case "brushes": - return `${selection.ids.length} brush selected (${getSelectedBrushLabel(selection, brushes)})`; + return `${selection.ids.length} solid${selection.ids.length === 1 ? "" : "s"} selected (${getSelectedBrushLabel(selection, brushes)})`; case "brushFace": return `1 face selected (${FACE_LABELS[selection.faceId]} on ${getBrushLabelById(selection.brushId, brushes)})`; case "entities":