Ungoing refactoring
This commit is contained in:
@@ -188,7 +188,6 @@ impl CyclicEnum for SettingKind {
|
||||
|
||||
pub struct Metrics {
|
||||
pub event_count: usize,
|
||||
pub dropped_events: usize,
|
||||
pub active_voices: usize,
|
||||
pub peak_voices: usize,
|
||||
pub cpu_load: f32,
|
||||
@@ -204,7 +203,6 @@ impl Default for Metrics {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
event_count: 0,
|
||||
dropped_events: 0,
|
||||
active_voices: 0,
|
||||
peak_voices: 0,
|
||||
cpu_load: 0.0,
|
||||
|
||||
@@ -70,12 +70,12 @@ impl Default for UiState {
|
||||
modal: Modal::None,
|
||||
help_focus: HelpFocus::default(),
|
||||
help_topic: 0,
|
||||
help_scrolls: vec![0; crate::views::help_view::topic_count()],
|
||||
help_scrolls: vec![0; crate::model::docs::topic_count()],
|
||||
help_search_active: false,
|
||||
help_search_query: String::new(),
|
||||
dict_focus: DictFocus::default(),
|
||||
dict_category: 0,
|
||||
dict_scrolls: vec![0; crate::views::dict_view::category_count()],
|
||||
dict_scrolls: vec![0; crate::model::categories::category_count()],
|
||||
dict_search_query: String::new(),
|
||||
dict_search_active: false,
|
||||
show_title: true,
|
||||
|
||||
Reference in New Issue
Block a user