Skip to content

Commit 7bd37a2

Browse files
committed
과정 저장용: 중간에 이전 Layout이 아닌 부모의 Layout constraint가 적용됨
1 parent f3f8505 commit 7bd37a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

presentation/src/main/java/com/stop/ui/route/TimeLineContainer.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ class TimeLineContainer(
9393
TransitionManager.beginDelayedTransition(this@TimeLineContainer)
9494

9595
with(ConstraintSet()) {
96-
clone(binding.root)
96+
clone(this@TimeLineContainer)
9797
connect(binding.root.id, ConstraintSet.START, endId, endSide)
9898
connect(binding.root.id, ConstraintSet.TOP, this@TimeLineContainer.id, ConstraintSet.TOP)
9999
connect(binding.root.id, ConstraintSet.BOTTOM, this@TimeLineContainer.id, ConstraintSet.BOTTOM)
100-
applyTo(binding.root)
100+
applyTo(this@TimeLineContainer)
101101
}
102102
beforeViewIconId = binding.root.id
103103
}

0 commit comments

Comments
 (0)