fix: reduce indentation
This commit is contained in:
+1
-1
@@ -277,7 +277,7 @@ impl<'a> StatefulWidget for Tree<'a> {
|
|||||||
} else {
|
} else {
|
||||||
"\u{25b6}" // Arrow to right
|
"\u{25b6}" // Arrow to right
|
||||||
};
|
};
|
||||||
let string = format!("{:>width$}{} ", "", symbol, width = item.depth() * 3);
|
let string = format!("{:>width$}{} ", "", symbol, width = item.depth() * 2);
|
||||||
let max_width = area.width.saturating_sub(after_highlight_symbol_x - x);
|
let max_width = area.width.saturating_sub(after_highlight_symbol_x - x);
|
||||||
let (x, _) = buf.set_stringn(
|
let (x, _) = buf.set_stringn(
|
||||||
after_highlight_symbol_x,
|
after_highlight_symbol_x,
|
||||||
|
|||||||
Reference in New Issue
Block a user