feat: toggle with identifier

BREAKING CHANGE: toggle now requires identifier
This commit is contained in:
EdJoPaTo committed 2022-08-31 14:21:53 +02:00
1 parent 0a631330e3
commit 63a5fa06f9
2 files changed
+11 -5

No files matched your search

+1 -1
View File
@@ -60,6 +60,6 @@ impl<'a> StatefulTree<'a> {
}
pub fn toggle(&mut self) {
self.state.toggle();
self.state.toggle_selected();
}
}