mirror of
https://github.com/danbulant/cushy
synced 2026-06-20 06:51:07 +00:00
Fixing DimensionRange for ..=
This commit is contained in:
parent
60e85c78d0
commit
95c1f2a01a
2 changed files with 3 additions and 3 deletions
|
|
@ -458,7 +458,7 @@ where
|
|||
fn from(value: RangeInclusive<T>) -> Self {
|
||||
Self {
|
||||
start: Bound::Included(value.start().clone().into()),
|
||||
end: Bound::Excluded(value.end().clone().into()),
|
||||
end: Bound::Included(value.end().clone().into()),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -445,10 +445,10 @@ impl Layout {
|
|||
offset += self.layouts[index].size;
|
||||
let (_, measured) = self.orientation.split_size(measure(
|
||||
index,
|
||||
dbg!(self.orientation.make_size(
|
||||
self.orientation.make_size(
|
||||
ConstraintLimit::Known(self.layouts[index].size.into_px(scale).into_unsigned()),
|
||||
other_constraint,
|
||||
)),
|
||||
),
|
||||
true,
|
||||
));
|
||||
self.other = self.other.max(measured);
|
||||
|
|
|
|||
Loading…
Reference in a new issue