Browse Source

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

Fix ContextMenu `Copy Error` is off in `MSBuild` Panel
Rémi Verschelde 1 year ago
parent
commit
8663f27159

+ 1 - 1
modules/mono/editor/GodotTools/GodotTools/Build/BuildProblemsView.cs

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