Update unit tests for Lux proposal focus bias to above center
This commit is contained in:
@@ -4138,7 +4138,7 @@ describe("RuntimeHost", () => {
|
|||||||
host.dispose();
|
host.dispose();
|
||||||
});
|
});
|
||||||
|
|
||||||
it("biases Lux proposal focus slightly below screen center", () => {
|
it("biases Lux proposal focus slightly above screen center", () => {
|
||||||
const host = new RuntimeHost({
|
const host = new RuntimeHost({
|
||||||
enableRendering: false
|
enableRendering: false
|
||||||
});
|
});
|
||||||
@@ -4194,7 +4194,7 @@ describe("RuntimeHost", () => {
|
|||||||
hostInternals.resolveRuntimeTargetCandidateNearestScreenCenter()
|
hostInternals.resolveRuntimeTargetCandidateNearestScreenCenter()
|
||||||
).toMatchObject({
|
).toMatchObject({
|
||||||
kind: "npc",
|
kind: "npc",
|
||||||
entityId: "npc-below-center"
|
entityId: "npc-above-center"
|
||||||
});
|
});
|
||||||
host.dispose();
|
host.dispose();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user