Skip to content

Commit

Permalink
fix: inconsistent state on reused view
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Dec 7, 2022
1 parent 09f7cf5 commit a14747d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -585,8 +585,11 @@ export default {
}
views.set(key, view)
} else {
view.nr.used = true
view.item = item
view.nr.used = true
view.nr.index = i
view.nr.key = key
view.nr.type = type
}
// Update position
Expand Down

0 comments on commit a14747d

Please sign in to comment.