InputSystem icon indicating copy to clipboard operation
InputSystem copied to clipboard

Querying pencil position in editor window doesn't work correctly.

Open H3idi-X opened this issue 7 years ago • 1 comments

When we call Pen.current.position.ReadValue() in Editor Window, it returns relative position from GameView. It should return the position relative to the Editor Window.

The attached is the screenshot of the issue. I pointed the red dot position with a pencil. image

The following is a test code. https://oc.unity3d.com/index.php/s/iLj3Gqrd1lFZh8D

H3idi-X avatar May 20 '19 21:05 H3idi-X

Filed: https://issuetracker.unity3d.com/issues/pen-editor-pen-position-is-not-consistent-with-mouse-position-in-custom-editor-window Closing.

JiaUnity avatar May 23 '19 19:05 JiaUnity