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

Feature: View->Fit #178

Closed
codebot opened this issue Jul 5, 2020 · 3 comments
Closed

Feature: View->Fit #178

codebot opened this issue Jul 5, 2020 · 3 comments

Comments

@codebot
Copy link
Contributor

codebot commented Jul 5, 2020

This feature doesn't currently work. It would be helpful when (for example) defining fiducials, because the coordinate system can change and the previously-saved X,Y,scale coordinates can be nonsense.

@txlei
Copy link

txlei commented Mar 24, 2021

hi, for some strange reason my traffic-editor is not displaying anything. I did a terrible mistake of not using a mouse and ended up zooming in too much. Tried to reinstall traffic editor and also qt related libraries to reset the view config if any. Any suggestion?
214
2335

@codebot
Copy link
Contributor Author

codebot commented Mar 24, 2021

The settings (including last-used viewport center and zoom factor) should be saved in ~/.config/open-robotics/traffic-editor.conf

It's just a text file in Qt's QSettings format. In that file, there should be a line like viewport_scale= that you can just delete. If it doesn't find that key in the QSettings file, it should just start up with a scale of 1.0.

@codebot
Copy link
Contributor Author

codebot commented Apr 7, 2021

fixed in #318 , hopefully it's impossible to get in an extremely-zoomed-out configuration now, and even if it is, the Zoom...Reset menu action should recover it now.

@codebot codebot closed this as completed Apr 7, 2021
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