Use the new Popup api for the color picker button#7137
Conversation
|
Preview available at https://egui-pr-preview.github.io/pr/7137-lucascolor-picker-popup |
emilk
left a comment
There was a problem hiding this comment.
The color picker closes on each click within it now. It should only close one escape and when clicking outside of it.
|
https://egui-pr-preview.github.io/pr/7137-lucascolor-picker-popup/ still closes when I click within the color picker |
That's so weird. It doesn't do it when I run it natively: Screen.Recording.2025-06-18.at.09.14.44.movMaybe something went wrong when updating the preview app? A race condition? Edit: I redeployed and now it works in the preview. Must've been a fluke. |
The color picker popup is now aligned to the bottom left edge (instead of the bottom right), but I think this makes more sense and is aligned with ComboBox etc. It also gets the new nice auto positioning.