feat: add interactive settings controls
This commit is contained in:
1 parent
ff64920b7b
commit
4edc920912
12 files changed
+1091
-252
No files matched your search
+2
-2
@@ -150,14 +150,14 @@ impl App {
|
||||
}
|
||||
|
||||
if self.focused == FocusedArea::InstanceSettings
|
||||
&& let Some(state) = self.instance_settings.as_ref()
|
||||
&& let Some(state) = self.instance_settings.as_mut()
|
||||
{
|
||||
let area = widgets::popups::instance_settings::popup_rect(frame.area(), state);
|
||||
widgets::popups::instance_settings::render(frame, area, state);
|
||||
}
|
||||
|
||||
if self.focused == FocusedArea::GlobalSettings
|
||||
&& let Some(state) = self.global_settings.as_ref()
|
||||
&& let Some(state) = self.global_settings.as_mut()
|
||||
{
|
||||
let area = widgets::popups::global_settings::popup_rect(frame.area(), state);
|
||||
widgets::popups::global_settings::render(frame, area, state);
|
||||
|
||||
Reference in new issue
Block a user