Port 1.00 following tests

Co-Authored-By: Max <max@zed.dev>
This commit is contained in:
Conrad Irwin 2024-01-05 14:23:07 -07:00
parent 5037cca7ec
commit 81d707adbc
5 changed files with 534 additions and 534 deletions

View file

@ -442,7 +442,7 @@ impl<T: Item> ItemHandle for View<T> {
) && !pending_update_scheduled.load(Ordering::SeqCst)
{
pending_update_scheduled.store(true, Ordering::SeqCst);
cx.on_next_frame({
cx.defer({
let pending_update = pending_update.clone();
let pending_update_scheduled = pending_update_scheduled.clone();
move |this, cx| {