Skip to content

Commit

Permalink
Fix update passing wrong Tree to content in pop widget
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Jan 26, 2025
1 parent 1dccd1e commit 24905eb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion widget/src/pop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,14 @@ where
}

self.content.as_widget_mut().update(
tree, event, layout, cursor, renderer, clipboard, shell, viewport,
&mut tree.children[0],
event,
layout,
cursor,
renderer,
clipboard,
shell,
viewport,
);
}

Expand Down

0 comments on commit 24905eb

Please sign in to comment.