fix(device): last 8 left to full compile?
Some checks are pending
/ build (push) Waiting to run

This commit is contained in:
stop screaming 2026-02-20 00:55:20 +02:00
parent 82ff49b386
commit 2d7ca155e0
7 changed files with 38 additions and 29 deletions

View file

@ -314,13 +314,13 @@ impl Arrangement {
#[cfg(feature = "scene")]
impl ScenesView for Arrangement {
fn h_scenes (&self) -> u16 {
(self.height() as u16).saturating_sub(20)
(self.measure_height() as u16).saturating_sub(20)
}
fn w_side (&self) -> u16 {
(self.width() as u16 * 2 / 10).max(20)
(self.measure_width() as u16 * 2 / 10).max(20)
}
fn w_mid (&self) -> u16 {
(self.width() as u16).saturating_sub(2 * self.w_side()).max(40)
(self.measure_width() as u16).saturating_sub(2 * self.w_side()).max(40)
}
}