fix(ui/tree/clone): `is_openend` should not be false

Resolve https://github.com/helix-editor/helix/pull/5768#discussion_r1133066209
pull/9/head
wongjiahau 1 year ago
parent 8b561e2e88
commit 41ebc30ea6

@ -74,7 +74,7 @@ impl<T: Clone> Clone for Tree<T> {
item: self.item.clone(),
index: self.index,
children: self.children.clone(),
is_opened: false,
is_opened: self.is_opened,
parent_index: self.parent_index,
}
}

Loading…
Cancel
Save