Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input.get_mouse_pos() has unexpected behaviour when "Stretch2d" is on? #103

Closed
fatihpense opened this issue Feb 17, 2014 · 1 comment
Closed

Comments

@fatihpense
Copy link

The visuals get stretched but mouse position data isn't stretched.

On the other hand, in the "_input(i):" function when i has the type "InputEvent.MOUSE_MOTION" , i.pos works as expected.

(Thanks for the great engine, maybe one day I can learn it enough to send code fixes...)

@reduz
Copy link
Member

reduz commented Feb 17, 2014

This is expected, as Input works at the entire application level, guess it
should be docummented, so i'm not closing this until it is.

On Mon, Feb 17, 2014 at 12:21 AM, Fatih Pense [email protected]:

The visuals get stretched but mouse position data isn't stretched.

On the other hand, in the "_input(i):" function when i has the type
"InputEvent.MOUSE_MOTION" , i.pos works as expected.

(Thanks for the great engine, maybe one day I can learn it enough to send
code fixes...)

Reply to this email directly or view it on GitHubhttps://github.com//issues/103
.

@reduz reduz closed this as completed Sep 21, 2014
DeeJayLSP pushed a commit to DeeJayLSP/godot that referenced this issue Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants