Skip to content

Commit 9ae56e8

Browse files
committed
update for rectangle-pack 0.2.1 (fix CI) (#1741)
crate `rectangle-pack` just published version 0.2.1 with a breaking change: chinedufn/rectangle-pack@c9ecd58 I also opened an issue on their repo so that they are aware of it: chinedufn/rectangle-pack#3
1 parent 47004df commit 9ae56e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_sprite/src/texture_atlas_builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ impl TextureAtlasBuilder {
163163
target_bins.insert(0, TargetBin::new(current_width, current_height, 1));
164164
rect_placements = match pack_rects(
165165
&self.rects_to_place,
166-
target_bins,
166+
&mut target_bins,
167167
&volume_heuristic,
168168
&contains_smallest_box,
169169
) {

0 commit comments

Comments
 (0)