shell: Refresh Title in SSD
This commit is contained in:
parent
a2d28ec7ba
commit
a099af394b
2 changed files with 25 additions and 2 deletions
|
|
@ -227,6 +227,14 @@ impl<P: Program + Send + 'static> IcedElement<P> {
|
|||
}
|
||||
internal_ref.update(true);
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl<P: Program + Send + 'static> IcedElementInternal<P> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue