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

Mouse Location Moves If Rotating While Placing Tile #53

Open
MrMonop opened this Issue Jan 13, 2019 · 4 comments

Comments

Projects
None yet
2 participants
@MrMonop
Copy link

MrMonop commented Jan 13, 2019

Describe the bug
While placing a tile, I rotated the screen. Upon completion of the rotation, my mouse position completely changes, sometimes to off the screen (I assume where the mouse would be based on my scroll). If I'm placing the tile and I release, the now unknown area of selection has tiles placed on it.

To Reproduce
Steps to reproduce the behavior:

  1. Select Tile in Build Mode (I was using Castle Tiles)
  2. When placing, press and hold left mouse, then press and hold middle mouse button to rotate.
  3. Release middle mouse button to end rotation
  4. Watch mouse location jump to new spot. (If left mouse was clicked and now released, you have a large area with tiles. I've repeated with pillars as well.)

Screenshots/Videos/Twitch Clips

TS-Mouse-Location-Moves-During-Rotation.zip

Additional context
I was using Windowed Mode (have not tried to recreate in fullscreen mode)
I have replicated with many Castle pieces.
I assume that when rotating, my mouse location is not remaining fixed where I left clicked. Would not be an issue if I were not trying to place tiles.

@cbaggers

This comment has been minimized.

Copy link
Contributor

cbaggers commented Feb 12, 2019

Yeah this is an annoying one. We are using the hardware cursor so we need to add some code to reposition the cursor to where makes sense.

Thanks for all the info. This is a great breakdown of the issue

@cbaggers

This comment has been minimized.

Copy link
Contributor

cbaggers commented Feb 12, 2019

@cbaggers

This comment has been minimized.

Copy link
Contributor

cbaggers commented Feb 25, 2019

First part of this issue is adding control for hardware cursor. I'm testing that now

@cbaggers

This comment has been minimized.

Copy link
Contributor

cbaggers commented Feb 25, 2019

well that was easy. We can now start tackling this properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.