From 4db506dcc7cf7bf955f14e52aa700e043eb76f98 Mon Sep 17 00:00:00 2001 From: marc2332 Date: Tue, 16 Jul 2024 18:12:01 +0200 Subject: [PATCH] hotfix: Adjust root element height of user app in devtools --- crates/renderer/src/devtools.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/renderer/src/devtools.rs b/crates/renderer/src/devtools.rs index 23c8f5641..1ee7110a2 100644 --- a/crates/renderer/src/devtools.rs +++ b/crates/renderer/src/devtools.rs @@ -38,7 +38,7 @@ impl Devtools { rdom.traverse_depth_first(|node| { let height = node.height(); - if height == 3 { + if height == 4 { if !root_found { root_found = true; } else {