mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
fix: dont bump update_id if batch are enabled
This commit is contained in:
parent
d8149f0648
commit
c078bd8022
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ end
|
|||
|
||||
local function update_descendants<T>(root: SourceNode<T>, is_root_update: boolean?)
|
||||
local n0 = update_queue.n
|
||||
if is_root_update then update_id += 1 end
|
||||
if is_root_update and not flags.batch then update_id += 1 end
|
||||
queue_children_for_update(root)
|
||||
|
||||
if flags.batch then return end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue