Checkpoint

This commit is contained in:
Nate Butler 2023-10-13 14:50:37 -04:00
parent 297b6b282c
commit 603765732e
4 changed files with 9 additions and 3 deletions

View file

@ -397,6 +397,7 @@ impl<S: 'static + Send + Sync + Clone> ListEntry<S> {
div()
.relative()
.group("")
.fill(color.surface)
.when(self.state == InteractionState::Focused, |this| {
this.border().border_color(color.border_focused)
@ -411,6 +412,8 @@ impl<S: 'static + Send + Sync + Clone> ListEntry<S> {
.h_full()
.flex()
.justify_center()
.group_hover("")
.fill(color.border_focused)
.child(
h_stack()
.child(div().w_px().h_full())

View file

@ -24,6 +24,7 @@ pub struct NotificationToast<S: 'static + Send + Sync + Clone> {
impl<S: 'static + Send + Sync + Clone> NotificationToast<S> {
pub fn new(
// TODO: use a `SharedString` here
title: impl Into<String>,
message: impl Into<String>,
primary_action: Button<S>,