feat: toggle with identifier
BREAKING CHANGE: toggle now requires identifier
This commit is contained in:
@@ -60,6 +60,6 @@ impl<'a> StatefulTree<'a> {
|
||||
}
|
||||
|
||||
pub fn toggle(&mut self) {
|
||||
self.state.toggle();
|
||||
self.state.toggle_selected();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user