fix(录音): 波形不跳动——ForEach 改用值相关 key(下标 key 致 ForEachNode skip mark dirty 不重绘)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
cb8e398bfb
commit
1432fa25a1
@@ -46,7 +46,7 @@ export struct RecordingOverlay {
|
|||||||
.height(48 * h)
|
.height(48 * h)
|
||||||
.borderRadius(3)
|
.borderRadius(3)
|
||||||
.backgroundColor('#FFFFFF')
|
.backgroundColor('#FFFFFF')
|
||||||
}, (h: number, i: number) => i.toString())
|
}, (h: number, i: number) => `${i}_${h}`)
|
||||||
}
|
}
|
||||||
.height(52)
|
.height(52)
|
||||||
.alignItems(VerticalAlign.Center)
|
.alignItems(VerticalAlign.Center)
|
||||||
|
|||||||
Reference in New Issue
Block a user