fix uidev build
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user