Say what nodeFor resolves a row to after PipeWire recreates its node
Co-Authored-By: Codex Medium <noreply@openai.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
92e1a27618
commit
a383e3efcb
1 file changed
+3
-2
@@ -330,8 +330,9 @@ Panel {
|
|||||||
return Model.rowSnapshot(list)
|
return Model.rowSnapshot(list)
|
||||||
}
|
}
|
||||||
|
|
||||||
// A row that outlives its node resolves to null, and every binding below
|
// A row that outlives its node resolves to null, or to a node PipeWire recreated
|
||||||
// already guards for that; a row that never held the node cannot dangle.
|
// under the same id and name; every binding below guards for null, and a row
|
||||||
|
// that never held the node cannot dangle.
|
||||||
function nodeFor(row) {
|
function nodeFor(row) {
|
||||||
if (!row) return null
|
if (!row) return null
|
||||||
for (var i = 0; i < nodes.length; i++) {
|
for (var i = 0; i < nodes.length; i++) {
|
||||||
|
|||||||
Reference in new issue
Block a user