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 tracing::info;
|
||||||
|
|
||||||
use crate::{
|
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 {
|
pub fn show(&mut self, ui: &mut egui::Ui) -> SidePanelResponse {
|
||||||
egui::Frame::none()
|
egui::Frame::none()
|
||||||
.inner_margin(Margin::same(8.0))
|
.inner_margin(Margin::same(8.0))
|
||||||
|
|||||||
Reference in New Issue
Block a user