浏览代码

Fix ContextMenu Copy Error is off in MSBuild Panel

Marius Hanl 1 年之前
父节点
当前提交
32be459e54
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/mono/editor/GodotTools/GodotTools/Build/BuildProblemsView.cs

+ 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();
             }
         }