notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit 5ddeb0e3836a617c4e4fb9f6d62642260f731b4f
parent 56af979c21d79f673bc3623f232224a8e7414cbf
Author: William Casarin <jb55@jb55.com>
Date:   Thu, 26 Sep 2024 13:49:51 -0700

remove dead code in side panel

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Msrc/ui/side_panel.rs | 8+-------
1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/ui/side_panel.rs b/src/ui/side_panel.rs @@ -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))