Skip to content

Commit a4e0ecb

Browse files
bnavettaoz-agent
andauthored
Fix bad merge in canvas resize handling (#14)
Co-authored-by: Oz <oz-agent@warp.dev>
1 parent 60bf3e8 commit a4e0ecb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/platform_impl/web/event_loop/window_target.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ impl ActiveEventLoop {
570570
window_id: RootWindowId(id),
571571
event: WindowEvent::Resized(new_size),
572572
});
573-
canvas.request_animation_frame();
573+
canvas.borrow().request_animation_frame();
574574
}
575575
}
576576
},

0 commit comments

Comments
 (0)