Update transform operation tests to reflect supported rotation capability
This commit is contained in:
@@ -1890,7 +1890,7 @@ describe("transform session commit commands", () => {
|
|||||||
expect(store.getState().document.entities[entityB.id]).toEqual(entityB);
|
expect(store.getState().document.entities[entityB.id]).toEqual(entityB);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("disables unsupported mixed-capability entity rotation for batch selections", () => {
|
it("disables unsupported mixed-capability entity scaling for batch selections", () => {
|
||||||
const playerStart = createPlayerStartEntity({
|
const playerStart = createPlayerStartEntity({
|
||||||
id: "entity-mixed-player-start"
|
id: "entity-mixed-player-start"
|
||||||
});
|
});
|
||||||
@@ -1914,7 +1914,7 @@ describe("transform session commit commands", () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
expect(supportsTransformOperation(target, "translate")).toBe(true);
|
expect(supportsTransformOperation(target, "translate")).toBe(true);
|
||||||
expect(supportsTransformOperation(target, "rotate")).toBe(false);
|
expect(supportsTransformOperation(target, "rotate")).toBe(true);
|
||||||
expect(supportsTransformOperation(target, "scale")).toBe(false);
|
expect(supportsTransformOperation(target, "scale")).toBe(false);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user