mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
labels and icons
This commit is contained in:
parent
3e748fefa7
commit
eb0547dc37
6 changed files with 19 additions and 18 deletions
|
|
@ -66,6 +66,9 @@ impl HasClipsSize for App {
|
|||
//});
|
||||
|
||||
impl App {
|
||||
pub fn update_clock (&self) {
|
||||
ViewCache::update_clock(&self.view_cache, self.clock(), self.size.w() > 80)
|
||||
}
|
||||
pub fn toggle_dialog (&mut self, mut dialog: Option<Dialog>) -> Option<Dialog> {
|
||||
std::mem::swap(&mut self.dialog, &mut dialog);
|
||||
dialog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue