You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting a window's title, the app doesn't process the specified number of updates. I'm unsure if this is specifically due to set_title or if it's the fault of some other underlying issue. I usually reach about 60% of the expected number of updates, although this may vary between devices.
Here's a minimal reproducible example:
use nannou::prelude::*;
struct Model {}
fn main() {
nannou::app(model).simple_window(view).loop_mode(LoopMode::loop_ntimes(100)).run();
}
fn model(_app: &App) -> Model {
Model {}
}
fn view(app: &App, _model: &Model, frame: Frame) {
println!("{}", frame.nth());
app.main_window().set_title(&format!("{}", frame.nth()));
}
The text was updated successfully, but these errors were encountered:
When setting a window's title, the app doesn't process the specified number of updates. I'm unsure if this is specifically due to
set_title
or if it's the fault of some other underlying issue. I usually reach about 60% of the expected number of updates, although this may vary between devices.Here's a minimal reproducible example:
The text was updated successfully, but these errors were encountered: