Fix type assertion in box-brush-face-editing test

This commit is contained in:
2026-04-15 08:03:20 +02:00
parent f9fd493025
commit 3760e6fb25

View File

@@ -217,7 +217,7 @@ describe("box brush face editing commands", () => {
updateUvState: (uvState, faceId) => ({
...uvState,
offset: {
x: BOX_FACE_IDS.indexOf(faceId),
x: BOX_FACE_IDS.indexOf(faceId as (typeof BOX_FACE_IDS)[number]),
y: uvState.offset.y + 1
},
scale: {