Merge pull request #91996 from Maran23/ms-build-context-menu

Fix ContextMenu `Copy Error` is off in `MSBuild` Panel
This commit is contained in:
Rémi Verschelde 2024-05-16 09:32:06 +02:00
commit 8663f27159
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -280,7 +280,7 @@ namespace GodotTools.Build
if (_problemsContextMenu.ItemCount > 0)
{
_problemsContextMenu.Position = (Vector2I)(_problemsTree.GlobalPosition + position);
_problemsContextMenu.Position = (Vector2I)(GetScreenPosition() + position);
_problemsContextMenu.Popup();
}
}