Skip to content

Commit

Permalink
fix(iced): use internal_ref size
Browse files Browse the repository at this point in the history
  • Loading branch information
wash2 committed Dec 12, 2024
1 parent 6c83258 commit 282f81b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/iced.rs
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ where
.to_logical(1., Transform::Normal)
.to_i32_round(),
)),
Some(size.to_logical(1, Transform::Normal)),
Some(internal_ref.size),
Kind::Unspecified,
) {
return vec![C::from(buffer)];
Expand Down

0 comments on commit 282f81b

Please sign in to comment.