chore: a comma
Some checks failed
/ build (push) Has been cancelled

This commit is contained in:
facile pop culture reference 2026-07-27 01:41:40 +03:00
parent ca049bff2b
commit 8b24b052ca

View file

@ -295,7 +295,7 @@ impl_draw!(<T: Screen, I: Draw<T>, X: Into<Option<T::Unit>>,>|self: Max<T, I, X>
)), )),
Self::WH(item, max_w, max_h) => (item, XYWH( Self::WH(item, max_w, max_h) => (item, XYWH(
area.0, area.1, max_w.into().map(|max|max.min(area.2)).unwrap_or(area.2), area.0, area.1, max_w.into().map(|max|max.min(area.2)).unwrap_or(area.2),
max_h.into().map(|max|max.min(area.3)).unwrap_or(area.3) max_h.into().map(|max|max.min(area.3)).unwrap_or(area.3),
)), )),
_ => return Ok(None) _ => return Ok(None)
}; };