author | Jordan Doyle <jordan@doyle.la> | 2024-01-14 0:33:20.0 +00:00:00 |
---|---|---|
committer | Jordan Doyle <jordan@doyle.la> | 2024-01-14 0:33:20.0 +00:00:00 |
commit | bca8ecb9aa4ce24726647e86282e17704ce0a198 [patch] |
|
tree | f6dd99e342b9da0a1acbab5676abdaf5efffe4fa |
|
parent | d17e455e3e400c202a05dcb36a3897a41f2a5d56 |
|
download | master.tar.gz |
Fix context menu after iced upgrade
Diff
shalom/src/widgets/context_menu.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shalom/src/widgets/context_menu.rs b/shalom/src/widgets/context_menu.rs index e1494bf..c4a1b8e 100644 --- a/shalom/src/widgets/context_menu.rs +++ a/shalom/src/widgets/context_menu.rs @@ -55,7 +55,9 @@ } fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node { self.base.as_widget().layout(tree, renderer, limits) self.base .as_widget() .layout(&mut tree.children[0], renderer, limits) } fn draw(