shell: Fix missing titlebars

This commit is contained in:
Victoria Brekenfeld 2023-03-07 22:20:44 +01:00
parent 659933b039
commit 5d173a46a6
11 changed files with 208 additions and 38 deletions

View file

@ -230,10 +230,10 @@ impl<P: Program + Send + 'static> IcedElement<P> {
pub fn force_update(&self) {
let mut internal = self.0.lock().unwrap();
internal.update(true);
for (_buffer, ref mut needs_redraw) in internal.buffers.values_mut() {
*needs_redraw = true;
}
internal.update(true);
}
}