mirror of
https://github.com/aljazceru/notedeck.git
synced 2026-01-17 23:34:19 +01:00
remove dead code in side panel
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use egui::{vec2, Color32, InnerResponse, Layout, Margin, Separator, SidePanel, Stroke, Widget};
|
||||
use egui::{vec2, Color32, InnerResponse, Layout, Margin, Separator, Stroke, Widget};
|
||||
use tracing::info;
|
||||
|
||||
use crate::{
|
||||
@@ -67,12 +67,6 @@ impl<'a> DesktopSidePanel<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn panel() -> SidePanel {
|
||||
egui::SidePanel::left("side_panel")
|
||||
.resizable(false)
|
||||
.exact_width(SIDE_PANEL_WIDTH)
|
||||
}
|
||||
|
||||
pub fn show(&mut self, ui: &mut egui::Ui) -> SidePanelResponse {
|
||||
egui::Frame::none()
|
||||
.inner_margin(Margin::same(8.0))
|
||||
|
||||
Reference in New Issue
Block a user