//! Popup input-coordinator helpers.
pub use register_input_coordinator_popup;
use PopupState;
use crateRect;
/// Returns `true` if `click_pos` is outside the popup rect and the popup
/// should be dismissed.
///
/// Guards drag gestures: if any drag is in progress the popup stays open even
/// if the pointer leaves its bounds (the user may drag the opacity slider
/// outside the frame).