1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-23 19:53:43 +00:00

Fix typo in xPositionOffset variable name (#17857)

This commit is contained in:
Jeffrey Holland
2025-12-08 17:23:04 +01:00
committed by GitHub
parent a0943c3100
commit f89c9b0f84

View File

@@ -448,10 +448,10 @@ export class DesktopAutofillService implements OnDestroy {
function normalizePosition(position: { x: number; y: number }): { x: number; y: number } {
// Add 100 pixels to the x-coordinate to offset the native OS dialog positioning.
const xPostionOffset = 100;
const xPositionOffset = 100;
return {
x: Math.round(position.x + xPostionOffset),
x: Math.round(position.x + xPositionOffset),
y: Math.round(position.y),
};
}