fix: newly added views do not have proper foreground

This commit is contained in:
Akash Yadav
2022-12-11 08:06:04 +05:30
parent ba1d95323f
commit a33862da55
@@ -77,8 +77,7 @@ internal class WidgetDragListener(val view: UiViewGroup, private val placeholder
this.view.addChild(index, child)
this.view.onHighlightStateUpdated(false)
child.onHighlightStateUpdated(false)
if (child is UiView) {
child.includeInIndexComputation = true
}