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
@@ -80,11 +80,11 @@ fn Grid(cx: Scope<GridProps>) -> Element {
|
||||
counts.with_mut(|c| {
|
||||
let i = *count.current();
|
||||
c[i] += 1;
|
||||
c[i] = c[i] % 360;
|
||||
c[i] %= 360;
|
||||
});
|
||||
count.with_mut(|i| {
|
||||
*i += 1;
|
||||
*i = *i % (size * size);
|
||||
*i %= size * size;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user