fix arranger cursor overlap with phrase pool

This commit is contained in:
🪞👃🪞 2024-12-23 20:18:20 +01:00
parent a05671a7f5
commit b68e259335

View file

@ -178,8 +178,8 @@ render!(<Tui>|self: ArrangerVCursor|render(move|to: &mut TuiOutput|{
to.fill_fg([x + width, y, 1, height], bg);
}
if let Some([_, y, _, height]) = scene_area {
to.fill_ul([area.x(), y - 1, area.w() + self.scenes_w, 1], bg);
to.fill_ul([area.x(), y + height - 1, area.w() + self.scenes_w, 1], bg);
to.fill_ul([area.x(), y - 1, area.w(), 1], bg);
to.fill_ul([area.x(), y + height - 1, area.w(), 1], bg);
}
Ok(if focused {
to.render_in(if let Some(clip_area) = clip_area { clip_area }