list editor cleanup & fix nesting
This commit is contained in:
parent
fb5ae53e88
commit
11eb30bd5b
4 changed files with 283 additions and 248 deletions
nested/src/list
|
@ -157,6 +157,9 @@ impl IndexView<Point2<i16>> for VerticalSexprDecorator {
|
|||
}
|
||||
|
||||
fn get(&self, pt: &Point2<i16>) -> Option<Self::Item> {
|
||||
if pt.y < 0 {
|
||||
return None;
|
||||
}
|
||||
let item_idx = pt.y as usize;
|
||||
let list_style = self.list_style.clone();
|
||||
let item_style = self.item_style.clone();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue