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

[Bug] Right mouse panning can cause glitches with object placement #2469

Open
lewri opened this issue Dec 30, 2023 · 3 comments
Open

[Bug] Right mouse panning can cause glitches with object placement #2469

lewri opened this issue Dec 30, 2023 · 3 comments
Labels
bug issue type P4 Low Priority T:Regression Type

Comments

@lewri
Copy link
Member

lewri commented Dec 30, 2023

Describe the issue

Following on from #2375 -- we now need to address a small issue where enabling Right Mouse panning causes some little bugs on object placement:

  1. When panning, the object will jitter around a little.
  2. When you finish panning, the object will rotate 1 time onMouseUp.

The jitter I could live with for longer, the unintentional rotate is a little bit of a pain.

Steps to Reproduce

  1. Start a game on a CorsixTH build on or after button for mouse panning can be toggled to be the middle or the right mouse button #2375
  2. Set mouse panning to right mouse
  3. Go into an object placement task and use panning to move around the view.

Expected Behaviour

We should avoid jittering of objects during a pan -- we also want to avoid unintentional rotation.

Save Game

Save game attached to report: No

CorsixTH Version

version with 2375 implemented (based on 0.67/master)

Operating System

Windows 10

Theme Hospital Version

GOG.com

Gamelog.txt

No response

Additional Information

No response

@lewri lewri added bug issue type P4 Low Priority T:Regression Type labels Dec 30, 2023
@lewri
Copy link
Member Author

lewri commented Feb 3, 2024

Wonder if we could make a secondary rotation to a keybind instead. Thus disabling right click rotation when it's used for panning.

Or we swap right button with middle button in addition too to support users who have a middle button on the mouse.

@lewri
Copy link
Member Author

lewri commented Feb 3, 2024

Wonder if we could make a secondary rotation to a keybind instead. Thus disabling right click rotation when it's used for panning.

This exists my bad: ingame_rotateobject = "space",

@lewri
Copy link
Member Author

lewri commented Mar 12, 2024

A new one: object pickup happens too if you try to pan while hovered on a selectable entity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue type P4 Low Priority T:Regression Type
Projects
None yet
Development

No branches or pull requests

1 participant