浏览代码

Merge pull request #1055 from BDisp/mouse-event-ofx-ofy-fix

Fixes #1053. ProcessMouseEvent seems to initialize MouseEvent incorrectly.
Charlie Kindel 4 年之前
父节点
当前提交
7a98f0e829
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Terminal.Gui/Core/Application.cs

+ 2 - 2
Terminal.Gui/Core/Application.cs

@@ -438,8 +438,8 @@ namespace Terminal.Gui {
 					X = rx,
 					Y = ry,
 					Flags = me.Flags,
-					OfX = rx,
-					OfY = ry,
+					OfX = 0,
+					OfY = 0,
 					View = view
 				};