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

Better Handling when opening viewports #3414

Closed
DorpsGek opened this issue Dec 24, 2009 · 3 comments
Closed

Better Handling when opening viewports #3414

DorpsGek opened this issue Dec 24, 2009 · 3 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

2006TTD opened the ticket and wrote:

When we press the V key, we get a viewport, but there's no idea where it is centered. After some investigations, I found that the center of the viewport is not at the center of screen, but a bit below it (Vertical: about 1/4 height of screen; Horizontal: Centered)

I suggest having a new setting to choose to open a new viewport which is focused on the center of the screen (when opening a viewport from menu or V key), or focus on the position of cursor (when opening a viewport from V key).

Also, I suggest adding an extra configuration for toggling/disabling panning in viewports (besides the main window), it gets annoying when you accidentally move them,
and add a 'lock focus button' in the viewport window for customized settings in each viewport.

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/3414
@DorpsGek
Copy link
Member Author

2006TTD wrote:

I want to say that this is both a feature request - (main part) and a bug - (the focus of the viewport has some problem)


This comment was imported from FlySpray: https://bugs.openttd.org/task/3414#comment7147

@DorpsGek
Copy link
Member Author

DorpsGek commented Jan 5, 2010

Yexo wrote:

The viewport not centering correctly was a bug and has been fixed in r18730.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3414#comment7259

@DorpsGek
Copy link
Member Author

DorpsGek commented Dec 8, 2012

frosch closed the ticket.

Reason for closing: Implemented

both opening viewport at cursor and panning have been implemented some time ago


This comment was imported from FlySpray: https://bugs.openttd.org/task/3414

@DorpsGek DorpsGek closed this as completed Dec 8, 2012
@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant