Close Variable layer height gizmo when other toolbar buttons clicked #5255
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
• This allows closing when other toolbar icon clicked
• Also allows closing gizmo when its icon clicked
• Gizmo still keeps open when other areas clicked
Before (GIF)
![orca-slicer_vyWrhY9jmU](https://private-user-images.githubusercontent.com/28517890/327857839-6b8fbc76-f845-4a1a-96d0-f14c47e3b09b.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAzOTY0MDgsIm5iZiI6MTcyMDM5NjEwOCwicGF0aCI6Ii8yODUxNzg5MC8zMjc4NTc4MzktNmI4ZmJjNzYtZjg0NS00YTFhLTk2ZDAtZjE0YzQ3ZTNiMDliLmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA3VDIzNDgyOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMwYWNhN2ViZDg3ZjYwNzkzMjgwN2MwM2NhMmNlN2M5ZjEyZmQ2NGJiMTE4ZmQ0NmYzNDVkZmZhZWQ1YmFlYjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.UlRGBDHGYZp8XlBpD4sFCQit63qbULx4dD4f9KBale4)
• Clicking other gizmos not closing variable layer height and overlaps with other gizmos
After (GIF)
![orca-slicer_W3GNbExuRN](https://private-user-images.githubusercontent.com/28517890/327858454-fe3148b4-174e-42f5-a649-ab01d9c0e4bc.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAzOTY0MDgsIm5iZiI6MTcyMDM5NjEwOCwicGF0aCI6Ii8yODUxNzg5MC8zMjc4NTg0NTQtZmUzMTQ4YjQtMTc0ZS00MmY1LWE2NDktYWIwMWQ5YzBlNGJjLmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA3VDIzNDgyOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM2MGVjMDBlN2Q0MDcxNTRjZTA5OTdlMWQ4MzllMGMzNWYwYWJiZDIwZjZkNjZiNjI0ZDFjZTc1Yzk2ZGI5ZDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Pb_3zjoT5CkK0t40Qk2GyL9O4c3yN-I5GjPWGpN36sw)
• Gizmo closes itself when other gizmos activated
I have tried rotate while variable layer height gizmo open. but it resets it self and i guess its not a planned feature. Recommended to use as a popup window if that's used like this
What's your opinion on this?