1
0
mirror of https://github.com/Siccity/xNode.git synced 2026-03-26 22:49:02 +08:00
This commit is contained in:
Icarus 2020-08-06 21:25:03 +08:00
parent 4ab79fe0bb
commit e49753c585

View File

@ -134,8 +134,6 @@ namespace XNodeEditor {
public Vector2 GetCurrentMousePosition(float yOffset = 10) public Vector2 GetCurrentMousePosition(float yOffset = 10)
{ {
Debug.LogError(Event.current.mousePosition + ":" + target.position);
var mouseGridPos = Event.current.mousePosition;//* window.zoom; var mouseGridPos = Event.current.mousePosition;//* window.zoom;
var nodeWindowPos = window.GridToWindowPosition(target.position + mouseGridPos); var nodeWindowPos = window.GridToWindowPosition(target.position + mouseGridPos);