fix uidev build

This commit is contained in:
Aleksander
2025-12-29 21:51:26 +01:00
parent 9425db9ae4
commit b91ec99782

View File

@@ -53,7 +53,7 @@ impl settings::SettingsIO for SimpleSettingsIO {
} }
pub struct TestbedDashboard { pub struct TestbedDashboard {
frontend: frontend::Frontend, frontend: frontend::Frontend<()>,
} }
impl TestbedDashboard { impl TestbedDashboard {
@@ -71,9 +71,12 @@ impl TestbedDashboard {
impl Testbed for TestbedDashboard { impl Testbed for TestbedDashboard {
fn update(&mut self, params: TestbedUpdateParams) -> anyhow::Result<()> { fn update(&mut self, params: TestbedUpdateParams) -> anyhow::Result<()> {
self self.frontend.update(
.frontend &mut (), /* nothing */
.update(params.width, params.height, params.timestep_alpha) params.width,
params.height,
params.timestep_alpha,
)
} }
fn layout(&mut self) -> &mut Layout { fn layout(&mut self) -> &mut Layout {