From 6cb4680dd08023e5c5e37101a5747e1b69bc57ad Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Tue, 14 Feb 2023 14:33:33 +0200 Subject: [PATCH] chore(sdbclient): cleanup some old comments --- sdbclient/src/cfg/mod.rs | 2 +- sdbclient/src/plugins/menu/play/ui.rs | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/sdbclient/src/cfg/mod.rs b/sdbclient/src/cfg/mod.rs index c6a2d2f..3a3a183 100644 --- a/sdbclient/src/cfg/mod.rs +++ b/sdbclient/src/cfg/mod.rs @@ -24,7 +24,7 @@ pub struct CfgDirs(pub directories::ProjectDirs); pub struct CfgSettings { /// Master Volume pub volume_master: u32, - /// Fulsscreen + /// Fullscreen pub fullscreen: bool, /// Resolution pub resolution: (f32, f32), diff --git a/sdbclient/src/plugins/menu/play/ui.rs b/sdbclient/src/plugins/menu/play/ui.rs index 6338469..5f8bed5 100644 --- a/sdbclient/src/plugins/menu/play/ui.rs +++ b/sdbclient/src/plugins/menu/play/ui.rs @@ -105,9 +105,6 @@ pub(super) fn show( egui::Layout::right_to_left(egui::Align::Center), |ui| { if ui.button("Refresh").clicked() { - // refresh the current tab - // oh and also, if the tab content in rtdmenu is empty, should - // fetch when switching to it match rtdmenu.browse_tab { BrowseMenuTab::Forming => { if !rtdmenu.waiting_for_all_forming_call { -- 2.44.1