mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-09 10:50:40 +00:00
Mention Direction::None in View::take_focus
This commit is contained in:
parent
b6444524ad
commit
16b4908443
@ -102,6 +102,9 @@ pub trait View: Any + AnyView {
|
||||
/// When the source is unclear, `Front` is usually used.
|
||||
///
|
||||
/// Default implementation always return `false`.
|
||||
///
|
||||
/// If the source is `Direction::Abs(Absolute::None)`, it is _recommended_
|
||||
/// not to change the current focus selection.
|
||||
fn take_focus(&mut self, source: Direction) -> bool {
|
||||
let _ = source;
|
||||
false
|
||||
|
Loading…
Reference in New Issue
Block a user