create driven example for tui renderer
This commit is contained in:
1 parent
c805bc25af
commit
71e34452da
10 files changed
+276
-34
No files matched your search
@@ -73,10 +73,11 @@ impl<'a, V: FromAnyValue> NodeView<'a, V> {
|
||||
self.mask
|
||||
.text
|
||||
.then_some(match &self.inner {
|
||||
NodeType::Text(text) => Some(&**text),
|
||||
NodeType::Text(text) => Some(&text.text),
|
||||
_ => None,
|
||||
})
|
||||
.flatten()
|
||||
.map(|x| &**x)
|
||||
}
|
||||
|
||||
/// Get the listeners if it is enabled in the mask
|
||||
|
||||
Reference in new issue
Block a user