diff --git a/android/plugins/litho/src/main/java/com/facebook/flipper/plugins/uidebugger/litho/descriptors/DebugComponentDescriptor.kt b/android/plugins/litho/src/main/java/com/facebook/flipper/plugins/uidebugger/litho/descriptors/DebugComponentDescriptor.kt index cf02d3771de..72ec5698140 100644 --- a/android/plugins/litho/src/main/java/com/facebook/flipper/plugins/uidebugger/litho/descriptors/DebugComponentDescriptor.kt +++ b/android/plugins/litho/src/main/java/com/facebook/flipper/plugins/uidebugger/litho/descriptors/DebugComponentDescriptor.kt @@ -56,7 +56,8 @@ class DebugComponentDescriptor(val register: DescriptorRegister) : NodeDescripto override fun getData(node: DebugComponent) = mapOf() - override fun getBounds(node: DebugComponent): Bounds = Bounds.fromRect(node.bounds) + override fun getBounds(node: DebugComponent): Bounds = + Bounds.fromRect(node.boundsInParentDebugComponent) override fun getTags(node: DebugComponent): Set = setOf(BaseTags.Declarative, LithoTag) diff --git a/gradle.properties b/gradle.properties index c58b76de242..ada7ae0769d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -17,7 +17,7 @@ POM_DEVELOPER_ID=facebook POM_DEVELOPER_NAME=facebook POM_ISSUES_URL=https://github.com/facebook/flipper/issues/ # Shared version numbers -LITHO_VERSION=0.43.0 +LITHO_VERSION=0.44.0 ANDROIDX_VERSION=1.3.0 KOTLIN_VERSION=1.6.20 # Gradle internals