Fix incorrect tree item in ContextDrawer overlay

This commit is contained in:
Jeremy Soller 2023-12-06 14:01:28 -07:00
parent 13d4310ce5
commit 3127b4cc13
No known key found for this signature in database
GPG key ID: DCFCA852D3906975

View file

@ -34,7 +34,7 @@ where
let mut node =
self.content
.as_widget()
.layout(&mut self.tree.children[0], renderer, &limits);
.layout(&mut self.tree, renderer, &limits);
let node_size = node.size();
node.move_to(Point {