This commit is contained in:
dbr 2022-01-17 13:09:18 +11:00
parent dd061d4ad4
commit 10eba1c25e

View File

@ -195,7 +195,10 @@ impl Ui {
}
/// Creates a PopupModal directly.
pub fn popup_modal<'ui, 'p, Label: AsRef<str>>(&self, str_id: Label) -> PopupModal<'_, '_, Label> {
pub fn popup_modal<'ui, 'p, Label: AsRef<str>>(
&self,
str_id: Label,
) -> PopupModal<'_, '_, Label> {
#[allow(deprecated)]
PopupModal::new(self, str_id)
}