Skip to content

Commit

Permalink
chore: try to fix something
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers committed Oct 20, 2024
1 parent b2c0675 commit 1750e76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion iced_layershell/src/actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use layershellev::id::Id as LayerId;
use layershellev::NewLayerShellSettings;

pub(crate) type LayerShellActionVec<T> = Vec<LayerShellAction<T>>;
#[allow(unused)]

#[derive(Debug, Clone)]
pub(crate) enum LayerShellAction<INFO: Clone> {
Mouse(Interaction),
Expand Down
1 change: 1 addition & 0 deletions iced_layershell/src/multi_window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,7 @@ async fn run_instance<A, E, C>(
&mut messages,
);

custom_actions.push(LayerShellAction::RedrawWindow(window.id));
if !uis_stale {
uis_stale = matches!(ui_state, user_interface::State::Outdated);
}
Expand Down

0 comments on commit 1750e76

Please sign in to comment.