fix: reduce indentation

This commit is contained in:
EdJoPaTo
2020-10-31 20:30:24 +01:00
parent 3513446bd8
commit db61972cec
+1 -1
View File
@@ -277,7 +277,7 @@ impl<'a> StatefulWidget for Tree<'a> {
} else {
"\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 (x, _) = buf.set_stringn(
after_highlight_symbol_x,