core: layer deferred surfaces with draw priorities

This commit is contained in:
2026-11-13 03:38:44 +07:00
parent 306644e581
commit dad833f998
8 changed files with 58 additions and 36 deletions
+2
View File
@@ -13,6 +13,7 @@ use gpui_native_utils::ResultLogErr as _;
use crate::button::{Button, ButtonVariant};
use crate::common::DismissHandler;
use crate::common::Sizable as _;
use crate::common::TOAST_LAYER;
use crate::common::v_flex;
/// How alarming an [`Alert`] is; picks the icon and the accent color.
@@ -345,5 +346,6 @@ impl RenderOnce for AlertsView {
)
})),
)
.with_priority(TOAST_LAYER)
}
}