Fix type assertion in box-brush-face-editing test
This commit is contained in:
@@ -217,7 +217,7 @@ describe("box brush face editing commands", () => {
|
|||||||
updateUvState: (uvState, faceId) => ({
|
updateUvState: (uvState, faceId) => ({
|
||||||
...uvState,
|
...uvState,
|
||||||
offset: {
|
offset: {
|
||||||
x: BOX_FACE_IDS.indexOf(faceId),
|
x: BOX_FACE_IDS.indexOf(faceId as (typeof BOX_FACE_IDS)[number]),
|
||||||
y: uvState.offset.y + 1
|
y: uvState.offset.y + 1
|
||||||
},
|
},
|
||||||
scale: {
|
scale: {
|
||||||
|
|||||||
Reference in New Issue
Block a user