Fix input X sign in RuntimeHost and add test for temporary look-on input in navigation controller
This commit is contained in:
@@ -5733,7 +5733,7 @@ export class RuntimeHost {
|
||||
let bestCandidate: RuntimeTargetCandidate | null = null;
|
||||
let bestAlignment = TARGETING_SCREEN_SWITCH_MIN_ALIGNMENT;
|
||||
let bestScreenDistance = 0;
|
||||
const inputX = input.horizontal / inputLength;
|
||||
const inputX = -input.horizontal / inputLength;
|
||||
const inputY = input.vertical / inputLength;
|
||||
|
||||
for (const candidate of this.runtimeTargetCandidates) {
|
||||
|
||||
Reference in New Issue
Block a user