We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9390b8b commit dbc797eCopy full SHA for dbc797e
1 file changed
src/app.rs
@@ -263,10 +263,8 @@ impl App {
263
}
264
buffer.present().unwrap();
265
266
- if b {
267
- if let Some(w) = &self.surface_state {
268
- self.set_title(w.window());
269
- }
+ if b && let Some(w) = &self.surface_state {
+ self.set_title(w.window());
270
271
272
#[cfg(any(feature = "skia", feature = "tiny-skia"))]
0 commit comments