mirror of
https://github.com/gkd-kit/gkd.git
synced 2024-11-16 03:32:38 +08:00
fix: 子孙节点遍历顺序错误
This commit is contained in:
parent
6116dd981b
commit
032ce0fcc6
|
@ -170,6 +170,7 @@ val abTransform = Transform(
|
|||
sequence {
|
||||
val stack = getChildren(node).toMutableList()
|
||||
if (stack.isEmpty()) return@sequence
|
||||
stack.reverse()
|
||||
val tempNodes = mutableListOf<AccessibilityNodeInfo>()
|
||||
do {
|
||||
val top = stack.removeLast()
|
||||
|
|
Loading…
Reference in New Issue
Block a user