Skip to content

Mouse gets stuck on edges of monitor when right mouse dragging scrollview widgets #3019

@LeeSpork

Description

@LeeSpork

Version information:

  • Platform: Windows 10
  • Version: 25.02

To Reproduce

  1. Open a window that has a scrollbar, such as the vehicles tab of object selection
  2. With your mouse inside the scrollable area, start holding the right mouse button
  3. Drag your mouse far enough that your (now invisible) cursor hits the edge of your monitor
  4. Notice that you can no longer scroll the scrollview further in that direction with this right mouse drag.

Expected behaviour
The game should reset the mouse cursor position while you are dragging, like it does when right mouse dragging the viewport.

Additional context
Original Locomotion (Steam) does not have this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-openlocoA problem or bug in OpenLoco (but not vanilla)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions