Skip to content

Conversation

rpapallas
Copy link
Contributor

Sometimes, especially for experiments, it's good to have a clean window without any menus to take screenshots. I added a small code that provides a toggle to turn on or off the bottom-left stats menu. I also added an optional parameter to turn it off when initializing the viewer. By default, nothing changes, the stats menu will be visible as like before.

I had to introduce two different names for these menus: help_menu for the previous menu and statistics_menu for the bottom-left one.

@rohanpsingh
Copy link
Owner

Hi, thanks for the PR. I think it is useful to be able to hide/unhide the stats menu.
But it might be better to simply clumb this toggle on/off functionality with the main "help menu", rather than creating a new keyboard binding.

@rpapallas
Copy link
Contributor Author

Hi @rohanpsingh just pushed the new changes. Let me know if this is better. Thanks for sharing this library, it's really useful.

@rohanpsingh
Copy link
Owner

Thanks, I'll merge!

@rohanpsingh rohanpsingh merged commit 819b05a into rohanpsingh:main Jul 22, 2022
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

Successfully merging this pull request may close these issues.

2 participants