mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
fix: no longer bump update id when a map updates
This commit is contained in:
parent
36eb9b0433
commit
f510fdf690
1 changed files with 0 additions and 2 deletions
|
|
@ -86,7 +86,6 @@ local function indexes<K, VI, VO>(input: () -> Map<K, VI>, transform: (() -> VI,
|
|||
output_cache[i] = result
|
||||
else -- update source
|
||||
input_nodes[i].cache = v
|
||||
graph.bump_update_id()
|
||||
update_descendants(input_nodes[i])
|
||||
end
|
||||
end
|
||||
|
|
@ -172,7 +171,6 @@ local function values<K, VI, VO>(input: () -> Map<K, VI>, transform: (VI, () ->
|
|||
else -- update source
|
||||
if cv ~= i then
|
||||
input_nodes[v].cache = i
|
||||
graph.bump_update_id()
|
||||
update_descendants(input_nodes[v])
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue