fix(iced): use internal_ref size

This commit is contained in:
Ashley Wulber 2024-12-11 21:36:50 -05:00 committed by Victoria Brekenfeld
parent 6c8325856f
commit 892c05f4fc

View file

@ -915,7 +915,7 @@ where
.to_logical(1., Transform::Normal) .to_logical(1., Transform::Normal)
.to_i32_round(), .to_i32_round(),
)), )),
Some(size.to_logical(1, Transform::Normal)), Some(internal_ref.size),
Kind::Unspecified, Kind::Unspecified,
) { ) {
return vec![C::from(buffer)]; return vec![C::from(buffer)];