software-mansion / react-native-ide

https://ide.swmansion.com
Other
705 stars 21 forks source link

Add possibility to hide zoom controls #409

Open michalzuk opened 3 days ago

michalzuk commented 3 days ago

In case of a tight panel width, it’s easy for the simulator to overlap with the zoom controls. This PR adds an option in the settings to toggle the visibility of these controls. For me it's extremally useful with the “Fit” zoom setting.

Before:

image

After:

image
vercel[bot] commented 3 days ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-ide ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 25, 2024 10:03pm
kmagiera commented 2 days ago

This is a good point and we actually discussed this internally. Our preference for this case would be to handle that without additional options. I'd like to keep the number of possible settings as small as possible such that it is easy to navigate. In this scenario I'd like the controls to hide automatically and reveal automatically when you hover over the left edge of the panel