wip: fix: 15 errors left here

This commit is contained in:
stop screaming 2026-02-20 00:50:15 +02:00
parent bba1f41ed5
commit 82ff49b386
8 changed files with 28 additions and 20 deletions

View file

@ -186,16 +186,16 @@ pub trait ClipsView:
let w = if self.selection().track() == Some(track_index)
&& let Some(editor) = self.editor ()
{
editor.width().max(24).max(track.width)
(editor.measure_width() as usize).max(24).max(track.width)
} else {
track.width
} as u16;
let y = if self.selection().scene() == Some(scene_index)
&& let Some(editor) = self.editor ()
{
editor.height().max(12)
(editor.measure_height() as usize).max(12)
} else {
Self::H_SCENE
Self::H_SCENE as usize
} as u16;
to.place(&Fixed::XY(w, y, Bsp::b(