mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 09:25:01 +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.
|
/// When the source is unclear, `Front` is usually used.
|
||||||
///
|
///
|
||||||
/// Default implementation always return `false`.
|
/// 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 {
|
fn take_focus(&mut self, source: Direction) -> bool {
|
||||||
let _ = source;
|
let _ = source;
|
||||||
false
|
false
|
||||||
|
Loading…
Reference in New Issue
Block a user