mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
reenable showing editor, this time its correctly aligned
This commit is contained in:
parent
2ef668ef0b
commit
451b33b9bc
1 changed files with 4 additions and 1 deletions
|
|
@ -339,7 +339,10 @@ impl Tek {
|
||||||
let clip = scene.clips[t].clone();
|
let clip = scene.clips[t].clone();
|
||||||
let icon = " ⏹ ";
|
let icon = " ⏹ ";
|
||||||
let name = clip.map(|c|c.read().unwrap().name.clone());
|
let name = clip.map(|c|c.read().unwrap().name.clone());
|
||||||
Align::nw(Tui::fg(fg, Bsp::e(icon, Bsp::e(Tui::bold(true, name), " "))))
|
Bsp::a(
|
||||||
|
Fill::xy(Align::nw(Tui::fg(fg, Bsp::e(icon, Bsp::e(Tui::bold(true, name), " "))))),
|
||||||
|
When(active, &self.editor)
|
||||||
|
)
|
||||||
};
|
};
|
||||||
map_south(y1 as u16, height, Fixed::y(height, Phat {
|
map_south(y1 as u16, height, Fixed::y(height, Phat {
|
||||||
width: 0,
|
width: 0,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue