Improve scanner repeatability guardrails
This commit is contained in:
@@ -292,7 +292,9 @@ export function createInputHelperService(options: { userDataPath: string; exePat
|
||||
: "primary-screen";
|
||||
|
||||
return {
|
||||
dataUrl: `data:image/png;base64,${base64}`,
|
||||
...(typeof result.imageBase64 === "string" && result.imageBase64
|
||||
? { imageBase64: base64 }
|
||||
: { dataUrl: `data:image/png;base64,${base64}` }),
|
||||
width: Number(result.width),
|
||||
height: Number(result.height),
|
||||
originX: Number(result.originX),
|
||||
|
||||
Reference in New Issue
Block a user