Skip to content

Commit

Permalink
Fix clippy warning when building without egui and Playtime (Linux)
Browse files Browse the repository at this point in the history
  • Loading branch information
helgoboss committed Nov 1, 2023
1 parent 6b79a5e commit 2b9ff50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/src/infrastructure/ui/independent_panel_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ impl IndependentPanelManager {
session: session.clone(),
main_panel,
mapping_panels: Default::default(),
message_panel: SharedView::new(SessionMessagePanel::new(session.clone())),
#[cfg(feature = "playtime")]
app_panel: SharedView::new(crate::infrastructure::ui::AppPanel::new(session)),
app_panel: SharedView::new(crate::infrastructure::ui::AppPanel::new(session.clone())),
message_panel: SharedView::new(SessionMessagePanel::new(session)),
}
}

Expand Down

0 comments on commit 2b9ff50

Please sign in to comment.