From c1feb1334298a9916e40213600ce1a8603730811 Mon Sep 17 00:00:00 2001 From: Michal Reclaw Date: Tue, 18 Jun 2024 23:22:28 +0200 Subject: [PATCH] uiTreeNode.Top = top in GenerateXPath.cs --- Tools/UIRecorder/UIRecorder/GenerateXPath.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/UIRecorder/UIRecorder/GenerateXPath.cs b/Tools/UIRecorder/UIRecorder/GenerateXPath.cs index 1565e424..6dae53af 100644 --- a/Tools/UIRecorder/UIRecorder/GenerateXPath.cs +++ b/Tools/UIRecorder/UIRecorder/GenerateXPath.cs @@ -473,7 +473,7 @@ public static string GenerateXPathToUiElement(RecordedUiTask recordedUiTask, Lis uiTreeNode.Name = Name; uiTreeNode.AutomationId = AutomationId; uiTreeNode.Left = left; - uiTreeNode.Top = left; + uiTreeNode.Top = top; uiTreeNode.Width = width; uiTreeNode.Height = height; uiTreeNode.RuntimeId = runtimeId;