fix: apply some clippy lints and rename the liveview methods to not intersect
This commit is contained in:
1 parent
c3e573b7cb
commit
8be66bd34d
14 files changed
+58
-76
No files matched your search
@@ -74,7 +74,7 @@ impl NodeDepState for Focus {
|
||||
if let Some(index) = a
|
||||
.value
|
||||
.as_int32()
|
||||
.or(a.value.as_text().and_then(|v| v.parse::<i32>().ok()))
|
||||
.or_else(|| a.value.as_text().and_then(|v| v.parse::<i32>().ok()))
|
||||
{
|
||||
match index.cmp(&0) {
|
||||
Ordering::Less => FocusLevel::Unfocusable,
|
||||
|
||||
Reference in new issue
Block a user