mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
fix: newly added views do not have proper foreground
This commit is contained in:
+1
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user