diff --git a/WindowDebugger/ViewModels/WindowItem.cs b/WindowDebugger/ViewModels/WindowItem.cs index 1ba5762..fa71cc4 100644 --- a/WindowDebugger/ViewModels/WindowItem.cs +++ b/WindowDebugger/ViewModels/WindowItem.cs @@ -239,7 +239,7 @@ public void SetTopMost(bool isTopMost) public void UpdateWindowRect(int left, int top, int width, int height) { - _window.Rect = new RECT { left = left, top = top, right = Left + width, bottom = Top + height }; + _window.Rect = new RECT { left = left, top = top, right = left + width, bottom = top + height }; OnPropertyChanged(nameof(Left)); OnPropertyChanged(nameof(Top)); OnPropertyChanged(nameof(Width));