Trying to clena the mess opened by plugins
This commit is contained in:
@@ -309,6 +309,12 @@ impl App {
|
||||
.editor
|
||||
.set_completion_enabled(self.ui.show_completion);
|
||||
}
|
||||
AppCommand::SetFont(f) => self.ui.font = f,
|
||||
AppCommand::SetZoomFactor(z) => self.ui.zoom_factor = z,
|
||||
AppCommand::SetWindowSize(w, h) => {
|
||||
self.ui.window_width = w;
|
||||
self.ui.window_height = h;
|
||||
}
|
||||
AppCommand::ToggleLiveKeysFill => self.live_keys.flip_fill(),
|
||||
|
||||
// Panel
|
||||
@@ -375,8 +381,8 @@ impl App {
|
||||
AppCommand::AudioRefreshDevices => self.audio.refresh_devices(),
|
||||
|
||||
// Options page
|
||||
AppCommand::OptionsNextFocus => self.options.next_focus(),
|
||||
AppCommand::OptionsPrevFocus => self.options.prev_focus(),
|
||||
AppCommand::OptionsNextFocus => self.options.next_focus(self.plugin_mode),
|
||||
AppCommand::OptionsPrevFocus => self.options.prev_focus(self.plugin_mode),
|
||||
AppCommand::OptionsSetFocus(focus) => self.options.focus = focus,
|
||||
AppCommand::ToggleRefreshRate => self.audio.toggle_refresh_rate(),
|
||||
AppCommand::ToggleScope => self.audio.config.show_scope = !self.audio.config.show_scope,
|
||||
|
||||
@@ -30,7 +30,8 @@ impl App {
|
||||
layout: self.audio.config.layout,
|
||||
hue_rotation: self.ui.hue_rotation,
|
||||
onboarding_dismissed: self.ui.onboarding_dismissed.clone(),
|
||||
..Default::default()
|
||||
font: self.ui.font.clone(),
|
||||
zoom_factor: self.ui.zoom_factor,
|
||||
},
|
||||
link: crate::settings::LinkSettings {
|
||||
enabled: link.is_enabled(),
|
||||
|
||||
Reference in New Issue
Block a user