refactor(scrollbar): experimental prefix over feature

A feature flag has quite some complexity with it and is annyoing.
Write a rustdoc comment about it and be clear about it being experimental and include it as is.
This commit is contained in:
EdJoPaTo
2024-02-24 11:08:30 +01:00
parent 98b53e448f
commit b31a599a37
4 changed files with 15 additions and 26 deletions
+2 -2
View File
@@ -124,8 +124,8 @@ fn run_app<B: Backend>(terminal: &mut Terminal<B>, mut app: App) -> io::Result<(
.title("Tree Widget")
.title_bottom(format!("{:?}", app.state)),
)
.scrollbar_margin((1, 1))
.scrollbar(Some(
.experimental_scrollbar_margin((1, 1))
.experimental_scrollbar(Some(
Scrollbar::new(ScrollbarOrientation::VerticalRight)
.begin_symbol(None)
.track_symbol(None)