fix(menu_bar): temporarily allow invalid reference cast
This commit is contained in:
parent
4674e4b23e
commit
0e0aed9bde
1 changed files with 1 additions and 0 deletions
|
|
@ -211,6 +211,7 @@ where
|
||||||
self.height
|
self.height
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(invalid_reference_casting)]
|
||||||
fn diff(&mut self, tree: &mut Tree) {
|
fn diff(&mut self, tree: &mut Tree) {
|
||||||
if tree.children.len() > self.menu_roots.len() {
|
if tree.children.len() > self.menu_roots.len() {
|
||||||
tree.children.truncate(self.menu_roots.len());
|
tree.children.truncate(self.menu_roots.len());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue